Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not resolve com.sina.weibo.sdk:core:9.12.0. #30

Open
Lb0728 opened this issue May 10, 2021 · 10 comments
Open

Could not resolve com.sina.weibo.sdk:core:9.12.0. #30

Lb0728 opened this issue May 10, 2021 · 10 comments

Comments

@Lb0728
Copy link

Lb0728 commented May 10, 2021

Could not determine the dependencies of task ':weibo_kit:compileVendorDebugAidl'.

Could not resolve all task dependencies for configuration ':weibo_kit:vendorDebugCompileClasspath'.
Could not resolve com.sina.weibo.sdk:core:9.12.0.
Required by:
project :weibo_kit
> Could not resolve com.sina.weibo.sdk:core:9.12.0.
> Could not get resource 'https://dl.bintray.com/thelasterstar/maven/com/sina/weibo/sdk/core/9.12.0/core-9.12.0.pom'.
> Could not HEAD 'https://dl.bintray.com/thelasterstar/maven/com/sina/weibo/sdk/core/9.12.0/core-9.12.0.pom'. Received status code 403 from server: Forbidden

@wgbbiao
Copy link

wgbbiao commented May 13, 2021

dl.bintray.com 已经关闭了,需要切到https://www.jfrog.com/ 里了吧。

@busyboy1991
Copy link

https://www.jfrog.com/
请问一下你现在切到哪个库了呢?你提供的 https://www.jfrog.com/里面也没有了

@xx-li
Copy link
Contributor

xx-li commented May 18, 2021

现在安卓没法运行了,怎么处理这个问题?

@louislee1021
Copy link

我們使用這個插件執行example時,出現以下報錯:
aunching lib\main.dart on RNE L22 in debug mode...
lib\main.dart:1

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not resolve com.sina.weibo.sdk:core:9.12.0.
Required by:
project :app > project :weibo_kit
> Could not resolve com.sina.weibo.sdk:core:9.12.0.
> Could not get resource 'https://dl.bintray.com/thelasterstar/maven/com/sina/weibo/sdk/core/9.12.0/core-9.12.0.pom'.
> Could not GET 'https://dl.bintray.com/thelasterstar/maven/com/sina/weibo/sdk/core/9.12.0/core-9.12.0.pom'. Received status code 403 from server: Forbidden

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 16s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

@litang0908
Copy link

试了好几种方式,本来计划将 aar 直接引入到 plugin 项目中,但是又无法编译通过,因为 aar 里面不能包含aar,所以只能通过将 微博SDK 中的 aar 文件,发布到本地的 maven 仓库中来使用了,目前测试运行正常,本地搭建maven的教程可以参考这里 Mac下安装Maven并发布本地仓库
没办法,微博官方SDK几乎没人维护了,只能自己来。

@droplet-js
Copy link
Collaborator

我更新了微博的SDK,你们可以先用 git 方式引入,我目前木有微博项目,需要你们帮忙测试通过了才能发布。

dependencies:
  weibo_kit:
    git:
      url: https://github.com/rxreader/weibo_kit.git

@xx-li
Copy link
Contributor

xx-li commented Jun 17, 2021

@v7lin 测试了git方式引入, iOS端正常, 安卓端可以运行和通过sdk唤起微博,认证功能因为这边没法加签名,所以没法认证通过进行验证。

@addappcn
Copy link

addappcn commented Sep 8, 2021

dependencies:
weibo_kit:
git:
url: https://github.com/rxreader/weibo_kit.git 这种也不行

@droplet-js
Copy link
Collaborator

dependencies:
weibo_kit:
git:
url: https://github.com/rxreader/weibo_kit.git 这种也不行

将 ref 设置成最新的 commit

@addappcn
Copy link

addappcn commented Sep 9, 2021

不懂 可以贴下不?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants