+ 2

Whats the reason for "Gradle project sync failed" ?

"Gradle project sync failed. Basic functionality (e.g. editing, debugging) will not work properly" whats the reason for this above error in android studio? I have set the java path even.

27th Sep 2019, 7:07 PM
Gothama Rajawasam
Gothama Rajawasam - avatar
5 ответов
+ 3
One of these is happened : 1. You added new to build.gradle but your gradle setting is offline! 2. Your gradle is online but your internet has problem with jcenter or maven to get libraries. 3. Gradle syntax has an unknown problem. 4. try to clear your cache and clean your project before gradle sync.
27th Sep 2019, 7:28 PM
Majid Jalilian
Majid Jalilian - avatar
+ 1
Can anyone pls give me a solution for this problem?😐 I am using android studio with the internet connection too.
28th Sep 2019, 2:27 PM
Gothama Rajawasam
Gothama Rajawasam - avatar
+ 1
I'm also having trouble getting the studio going. Preview doesn't show, mysterious errors show up although I haven't written a single letter, program freezes...
28th Sep 2019, 2:43 PM
HonFu
HonFu - avatar
+ 1
HonFu do you also get an error as above? "Gradle project sync failed ....."
28th Sep 2019, 2:46 PM
Gothama Rajawasam
Gothama Rajawasam - avatar
0
I got that one, but in my case it was the internet. When I started over with proper wlan, it (that part) worked.
28th Sep 2019, 2:59 PM
HonFu
HonFu - avatar