weibo_kit icon indicating copy to clipboard operation
weibo_kit copied to clipboard

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

Open Lb0728 opened this issue 4 years ago • 10 comments

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

Lb0728 avatar May 10 '21 12:05 Lb0728

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

wgbbiao avatar May 13 '21 08:05 wgbbiao

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

busyboy1991 avatar May 18 '21 09:05 busyboy1991

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

xx-li avatar May 18 '21 09:05 xx-li

我們使用這個插件執行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)

louislee1021 avatar May 22 '21 07:05 louislee1021

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

litang0908 avatar Jun 03 '21 20:06 litang0908

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

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

droplet-js avatar Jun 05 '21 10:06 droplet-js

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

xx-li avatar Jun 17 '21 03:06 xx-li

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

addappcn avatar Sep 08 '21 11:09 addappcn

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

将 ref 设置成最新的 commit

droplet-js avatar Sep 08 '21 11:09 droplet-js

不懂 可以贴下不?

addappcn avatar Sep 09 '21 02:09 addappcn