Skip to content

bintray无法下载jar包 #24

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

Open
shetz163 opened this issue May 8, 2021 · 6 comments
Open

bintray无法下载jar包 #24

shetz163 opened this issue May 8, 2021 · 6 comments

Comments

@shetz163
Copy link

shetz163 commented May 8, 2021

bintray下载jar包提示403

Execution failed for task ':umeng_analytics_plugin:javaPreCompileDebug'.

Could not resolve all files for configuration ':umeng_analytics_plugin:debugCompileClasspath'.
Could not download analytics.jar (com.umeng.umsdk:analytics:8.1.4)
> Could not get resource 'https://dl.bintray.com/umsdk/release/com/umeng/umsdk/analytics/8.1.4/analytics-8.1.4.jar'.
> Could not GET 'https://dl.bintray.com/umsdk/release/com/umeng/umsdk/analytics/8.1.4/analytics-8.1.4.jar'. Received status code 403 from server: Forbidden
Could not download common.jar (com.umeng.umsdk:common:2.1.8)
> Could not get resource 'https://dl.bintray.com/umsdk/release/com/umeng/umsdk/common/2.1.8/common-2.1.8.jar'.
> Could not GET 'https://dl.bintray.com/umsdk/release/com/umeng/umsdk/common/2.1.8/common-2.1.8.jar'. Received status code 403 from server: Forbidden

@Witcher-jufei
Copy link

+1

@Witcher-jufei
Copy link

+1

dl.bintray.com 这个玩意儿挂了,访问 bintray.com 有效。怎么更改-=...

@shetz163
Copy link
Author

bintray停止服务了 官方发了通告了 https://info.umeng.com/detail?id=443&cateId=1

@gaoshan85
Copy link

遇到同样的问题,如何解决?

@paul060379
Copy link

paul060379 commented May 28, 2021

等等看作者吧,官方庫搬移了,需要修改URL

@AlexTeamX
Copy link

修改flutter.pub-cache\hosted\pub.flutter-io.cn\umeng_analytics_plugin-1.0.3\android\build.gradle文件,将第8行和20行的maven { url 'https://dl.bintray.com/umsdk/release' }修改为maven { url 'https://repo1.maven.org/maven2/' },再次run会报找不到analytics:8.1.4和common:2.1.8,通过查找maven仓库,发现只有analytics:8.1.3和common:2.2.5比较接近,修改后,可以成功运行,暂时未测试是否可以统计到数据。

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

5 participants