+ 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?

10th Sep 2018, 4:01 PM
estifanos
estifanos - avatar
2 Answers
+ 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.
11th Sep 2018, 4:37 AM
Gulshan Kumar Singh
Gulshan Kumar Singh - avatar
0
there's no android in program files directory
19th Apr 2020, 3:34 AM
Marlon Caisip
Marlon Caisip - avatar