+ 4
Create new project on Android, Error: Studio Unknown host 'services.gradle.org'
After installing Android studio and creating a new project, I get the following error: unknown host 'services.gradle.org'. how can i fix this?
2 Respuestas
+ 1
Try following these steps.
step 1) file>Setttings>appearance and behaviour> system setttings>HTTP proxy> set No Proxy.
step 2) build,execution and deployment> Build tools > gradle> now under project level settings > select local gradle distribution> gradle home = C:/Program Files/Android/Android Studio/gradle/gradle-2.4
NOTE: in my case my default android studio .gradle folder is located in "C:/Program Files/Android/Android Studio/gradle/gradle-2.4" change it with your defualt directory.
0
there's no android in program files directory