I just recently downloaded an Android Studio and installed it on my PC. But When I try to set up my first project \"hello world\", it always brings up the following:
<
Guess what, I just faced this issue and I solved it.
I did something very risky, but it looks like the fault is in the gradle cache directory.
If you are using windows the dir. will be at C:\Users\username.....gradle\caches and deamon <- will be the directory where all the gradle versions are stored. Delete the latest particular version from the Cache as well as the Deamon folder. Next time your project syncs, AS will automatically generate the two files.
Also
3.Now go to android studio - File ->invalidate Cache/Restart 4.Now edit gradle-wrapper.properties and add latest version of gradle there.After updation my gradle-wrapper.properties looked like this. From the above answer. This worked for me