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. "General error during conversion: Unsupported class file major version 63" when trying to build for android
Forum Updated to NodeBB v4.3 + New Features

"General error during conversion: Unsupported class file major version 63" when trying to build for android

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 3.2k Views
  • 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.
  • M Offline
    M Offline
    mcarl
    wrote on last edited by
    #1

    I am getting

    General error during conversion: Unsupported class file major version 63
    

    error while trying to build android project. I newly set up android kits from official installer. I tried to set default jdk to 19 and 11 and got same error for both.
    OS:Arch Linux
    Any advices about this?

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      I've had that same error.

      I've switched from JDK 19 to AdoptOpenJDK 11, plus switching from NDK 25.2.9519653 to 23.1.7779620 and now it works. At least for this issue.

      M 1 Reply Last reply
      1
      • ? A Former User

        I've had that same error.

        I've switched from JDK 19 to AdoptOpenJDK 11, plus switching from NDK 25.2.9519653 to 23.1.7779620 and now it works. At least for this issue.

        M Offline
        M Offline
        mcarl
        wrote on last edited by
        #3

        @ankou29666 Thank you for input. I solved this issue too, with changing gradle version on build folder gradle files. But after it i am getting

        FAILURE: Build failed with an exception.
        
        * What went wrong:
        Could not determine the dependencies of task ':packageDebug'.
        > Could not create task ':mergeDebugAssets'.
           > Cannot use @TaskAction annotation on method IncrementalTask.taskAction$gradle_core() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method.
        

        and couldnt find any solution yet.

        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