Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android studio can't build project

After removing the old android studio, I install a new one, (Beta)0.8.6. Build number:AI-135.1339820. When I try to build my project, it can't be built, the following is log:

Error:A problem occurred configuring root project 'Game'.

Could not resolve all dependencies for configuration ':classpath'. Could not resolve com.android.tools.build:gradle:0.12.2. Required by: :Game:unspecified Could not GET 'http://jcenter.bintray.com/com/android/tools/build/gradle/0.12.2/gradle-0.12.2.pom'. Can't connect to SOCKS proxy:Connection refused

Game is my project's name. I have struggled this problem with hours, but without any progress.

like image 388
Sysphus Avatar asked Aug 01 '26 20:08

Sysphus


1 Answers

It should be related to proxy settings.

Check following link to set proxy in android studio. AndroidStudio gradle proxy

like image 82
San Avatar answered Aug 04 '26 13:08

San



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!