I recently installed Android Studio but when I try to create a new project gradle failed and timeout error raised. I am not good in the Android Studio. if I try to sample project everything working fine. but I can not start a new project or even cannot use a github project. gradle is really annoying.
Asked
Active
Viewed 44 times
0
-
https://stackoverflow.com/questions/28133518/how-to-update-android-studio-automatically – Gowthaman M Oct 06 '17 at 04:19
-
Did your anti-virus block Android Studio? – ישו אוהב אותך Oct 06 '17 at 07:46
-
no i dont have anti virus installed in my pc. – Waqas Anjum Oct 06 '17 at 07:53
1 Answers
0
It may be firewall issue and also check your internet connection. try turning off your firewall. you can also set offline gradle by changing File -> Settings -> Build, Execution, Deployment -> Gradle -> Check Offline work under Global Gradle settings
check if your issue is similar to this

MadLeo
- 458
- 1
- 6
- 24
-
i have tried everything like turning off firewall and adding Android Studio .exe to firewall also tried to make gradle offline. Nothing working only sample projects are working perfectly. Why sample projects are working if android studio has misconfigured?? – Waqas Anjum Oct 06 '17 at 04:37