How can I solve: "Project estimation error": app'.Usupported major.minor version 52.0

I have tried to really investigate this error and I cannot find a fix.

I have updated my android studios and I am getting the following error:

Error: (1, 1) There was a problem evaluating project ': app'.

java.lang.UnsupportedClassVersionError: com / android / build / gradle / AppPlugin: Unsupported major.minor 52.0

I am unable to start the basic hello program. I don't know if my gradle is flawed or if I am having problems with java.

I am running:

Android Studios 2.3.1

Java 8 Update 101 (build 1.8.0_101-b13)

Windows 8

How can I resolve this error? Thank.

+3


source to share


2 answers


I needed to go to File> Project Structure

In the JDK location I had to change the path to: C: \ Program Files \ Java \ jdk1.8.0_101



It was built without errors.

+1


source


inside the "Project Structure" settings window enabled "Use embedded JDK (recommended)" on the "SDK Location" tab



+1


source







All Articles