Moiz Zafar
Moiz Zafar

Reputation: 1

Gradle project sync failed in Android Studio 2.2.3

As I open Android Studio it displays an error saying Gradle project sync failed, basic functionality will not work properly. Also underneath it display an error:

This version of %1 is not compatible with the version of Windows you're running.

What do I do as I have completely uninstalled and re-installed Android Studio several times but the issue is not resolved?

Upvotes: 0

Views: 2659

Answers (1)

Saba-21
Saba-21

Reputation: 132

Solved same problem a moment ago, go to File->Project Structure->SDK Location and in JDK Location section unmark use embedded JDK, instead select location where JDK is installed(C:\Program Files\Java\jdk1.8.0_111), this error is generated by changement of JDK source file by Android Studio, hope it helps.

Upvotes: 1

Related Questions