Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Help - I'm currently using JDK 1.8, QT 5.15.2, Gradle 3.6.4, and Android API 33
Forum Updated to NodeBB v4.3 + New Features

Help - I'm currently using JDK 1.8, QT 5.15.2, Gradle 3.6.4, and Android API 33

Scheduled Pinned Locked Moved Unsolved Qt 6
5 Posts 2 Posters 855 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
    marisol
    wrote on last edited by
    #1

    The current issue I'm stuck with is as shown in the following screenshot. Actually, there were no issues when building for lower versions of the Android OS before. This problem has arisen when building for the latest version of the Android OS. So, I suspect it's a compatibility issue between QT, JDK, Gradle, and the Android OS version.

    I'm currently using JDK 1.8, QT 5.15.2, Gradle 3.6.4, and Android API 33. Right now, I'm trying to upgrade the Gradle version first to be compatible with Android API 33. Then, I assume that upgrading the Gradle version will require upgrading the QT version as well.![alt text](![image url]([image url](QT1.png QT2.png link url)))

    JoeCFDJ 1 Reply Last reply
    0
    • M marisol

      The current issue I'm stuck with is as shown in the following screenshot. Actually, there were no issues when building for lower versions of the Android OS before. This problem has arisen when building for the latest version of the Android OS. So, I suspect it's a compatibility issue between QT, JDK, Gradle, and the Android OS version.

      I'm currently using JDK 1.8, QT 5.15.2, Gradle 3.6.4, and Android API 33. Right now, I'm trying to upgrade the Gradle version first to be compatible with Android API 33. Then, I assume that upgrading the Gradle version will require upgrading the QT version as well.![alt text](![image url]([image url](QT1.png QT2.png link url)))

      JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by
      #2

      @marisol
      https://docs.gradle.org/current/userguide/compatibility.html
      https://developer.android.com/build/jdks
      you need Java 11 not 18 for Android API 33

      M 2 Replies Last reply
      0
      • JoeCFDJ JoeCFD

        @marisol
        https://docs.gradle.org/current/userguide/compatibility.html
        https://developer.android.com/build/jdks
        you need Java 11 not 18 for Android API 33

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

        @JoeCFD Hi! Thank you, I will check and try your suggestion. :)

        1 Reply Last reply
        0
        • JoeCFDJ JoeCFD

          @marisol
          https://docs.gradle.org/current/userguide/compatibility.html
          https://developer.android.com/build/jdks
          you need Java 11 not 18 for Android API 33

          M Offline
          M Offline
          marisol
          wrote on last edited by
          #4

          @JoeCFD 1342a906-fc46-46f4-b82f-17c6efcfd822-image.png

          I tried JDK11 and it didn't work. I'm now trying JDK 17. Is that just right?

          JoeCFDJ 1 Reply Last reply
          0
          • M marisol

            @JoeCFD 1342a906-fc46-46f4-b82f-17c6efcfd822-image.png

            I tried JDK11 and it didn't work. I'm now trying JDK 17. Is that just right?

            JoeCFDJ Offline
            JoeCFDJ Offline
            JoeCFD
            wrote on last edited by
            #5

            @marisol Looks like gradle version mismatch. Read the links in my post above carefully and try to use the right versions for all packages.

            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