Friday, December 2, 2016

Error building your first project - Unsupported major.minor version 52.0

If you got
Error:java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0

Solution is
Go to File -> Project Structure -> App  ->  Build Tool Version. Change it to 23.0.3

Cause of error:
You are using java version 7 and for some reason do not want to upgrade to java 8 yet.

No comments:

Post a Comment