Open Lb0728 opened 3 years ago
dl.bintray.com 已经关闭了,需要切到https://www.jfrog.com/ 里了吧。
https://www.jfrog.com/ 请问一下你现在切到哪个库了呢?你提供的 https://www.jfrog.com/里面也没有了
现在安卓没法运行了,怎么处理这个问题?
我們使用這個插件執行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)
试了好几种方式,本来计划将 aar 直接引入到 plugin 项目中,但是又无法编译通过,因为 aar 里面不能包含aar,所以只能通过将 微博SDK 中的 aar 文件,发布到本地的 maven 仓库中来使用了,目前测试运行正常,本地搭建maven的教程可以参考这里 Mac下安装Maven并发布本地仓库 没办法,微博官方SDK几乎没人维护了,只能自己来。
我更新了微博的SDK,你们可以先用 git 方式引入,我目前木有微博项目,需要你们帮忙测试通过了才能发布。
dependencies:
weibo_kit:
git:
url: https://github.com/rxreader/weibo_kit.git
@v7lin 测试了git方式引入, iOS端正常, 安卓端可以运行和通过sdk唤起微博,认证功能因为这边没法加签名,所以没法认证通过进行验证。
dependencies: weibo_kit: git: url: https://github.com/rxreader/weibo_kit.git 这种也不行
dependencies: weibo_kit: git: url: https://github.com/rxreader/weibo_kit.git 这种也不行
将 ref 设置成最新的 commit
不懂 可以贴下不?
Could not determine the dependencies of task ':weibo_kit:compileVendorDebugAidl'.