Error on Android Project(Unsupported major.minor version 52.0)
-
Dear friends,I try to run a new project in Qt Quick application in Qt version 5.10
But when I want run this project , the error of java.lang.UnsupportedClassVersionError: com/android/build/gradle/AppPlugin : Unsupported major.minor version 52.0 has occured
then I check javac -version and java -version in cmd(windows 7) they are the same version , I don't have any idea to solve this problem
Is there any one here to help me??Error message that shown :
Install to device: NoFAILURE: Build failed with an exception.
Android_for_armeabi_v7a_GCC_4_9_Qt_5_10_1_for_Android_armv7-Debug\android-build\build.gradle' line: 17- What went wrong:
A problem occurred evaluating root project 'android-build'.
java.lang.UnsupportedClassVersionError: com/android/build/gradle/AppPlugin : Unsupported major.minor version 52.0
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
build.gradle' line: 17 is :
apply plugin: 'com.android.application'thanks alot
- What went wrong: