Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Error on Android Project(Unsupported major.minor version 52.0)
Forum Updated to NodeBB v4.3 + New Features

Error on Android Project(Unsupported major.minor version 52.0)

Scheduled Pinned Locked Moved Solved Mobile and Embedded
1 Posts 1 Posters 515 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    saeidparand
    wrote on last edited by
    #1

    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: No

    FAILURE: 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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved