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

Error running Gradle #171

Closed
quinnQjc opened this issue Dec 17, 2018 · 5 comments
Closed

Error running Gradle #171

quinnQjc opened this issue Dec 17, 2018 · 5 comments

Comments

@quinnQjc
Copy link

0 cb 16 t3jjxwq qangc8

请问为啥我加了阿里的镜像了还是报这个错呢

@CarGuo
Copy link
Owner

CarGuo commented Dec 17, 2018

这个是gradle打包的时候,从jcenter同步jar包失败

@quinnQjc
Copy link
Author

这个是gradle这个打包的时候,从jcenter同步的jar包失败

那请问这个该怎么办呢, 或者说类似的问题如何处理呢, 我经常遇到这样的问题,,,麻烦解答一下, 感激不尽

@CarGuo
Copy link
Owner

CarGuo commented Dec 18, 2018

一般翻墙或者换个网络环境就可以,因为一般jcenter是不需要翻墙的。

可以配置 全局的 gradle.properties 文件增加代理,或者是不是gradle 配置了离线

@quinnQjc
Copy link
Author

一般翻墙或者换个网络环境就可以,因为一般jcenter是不需要翻墙的。

可以配置全局的gradle.properties文件增加代理,或者是不是gradle配置了离线
0 40bcj 3pp bucymksnc

呃设置代理了也不行耶...我已经开了蓝灯了的...求助

@CarGuo
Copy link
Owner

CarGuo commented Dec 18, 2018

把代理写到 .gradle/gradle.propertie 里
win的应该在 C:\user\xxxx.gradle , mac 应该是用户名 .gradle

@CarGuo CarGuo closed this as completed Dec 20, 2018
@CarGuo CarGuo mentioned this issue Nov 21, 2019
@byue666 byue666 mentioned this issue Dec 19, 2019
@w497763094 w497763094 mentioned this issue Mar 10, 2020
@JevonShi JevonShi mentioned this issue Mar 10, 2020
@HaobinXu HaobinXu mentioned this issue Mar 20, 2020
@luan823230 luan823230 mentioned this issue Mar 24, 2020
@MrHGJ MrHGJ mentioned this issue May 19, 2020
@hzg1105 hzg1105 mentioned this issue Jun 14, 2020
@wangkr wangkr mentioned this issue Jul 4, 2020
@gss3000 gss3000 mentioned this issue Jul 8, 2020
@Liway Liway mentioned this issue Jun 22, 2022
@jayVRIY jayVRIY mentioned this issue Dec 8, 2022
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

2 participants