Android studio cannot build project

After uninstalling the old android studio, I am installing the new (Beta) 0.8.6. Build number: AI-135.1339820. When I try to build my project, it cannot be created, the following log:

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

      

Failed to resolve all dependencies for configuration: classpath. Failed to resolve com.android.tools.build: gradle: 0.12.2. Required: Game: undefined Failed GET ' http://jcenter.bintray.com/com/android/tools/build/gradle/0.12.2/gradle-0.12.2.pom '. Unable to connect to SOCKS proxy: connection refused

Game is my project name. I have struggled with this issue for hours, but without any success.

+3


source to share


3 answers


It should be linked to proxy settings.



Check the link for proxy setup in android studio. AndroidStudio gradle proxy

+4


source


Try disabling antivirus and internet protection, and if you are using Windows, then Windows Firewall. Try to rebuild the project. This worked for me.



0


source


You need to provide https proxy support. If not, you can force Android Studio to fetch dependencies and AS updates using HTTP instead of HTTPS (where available).

0


source







All Articles