Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Android build kit issues
Qt 6.11 is out! See what's new in the release blog

Qt Android build kit issues

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
11 Posts 3 Posters 2.9k 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.
  • S Offline
    S Offline
    shiguangfeishi
    wrote on last edited by
    #1

    My JDK, SDK, and other Android environments have been configured, but I still cannot enable the Android build kit. What is the problem?
    d6332667-6653-47c9-ad5a-bbd800a07435-image.png
    6bb8a353-8a58-49e8-b2c3-6573f394d826-image.png
    3490be0e-f1fc-416d-b316-2e60950e9208-image.png

    jsulmJ 1 Reply Last reply
    1
    • S shiguangfeishi

      My JDK, SDK, and other Android environments have been configured, but I still cannot enable the Android build kit. What is the problem?
      d6332667-6653-47c9-ad5a-bbd800a07435-image.png
      6bb8a353-8a58-49e8-b2c3-6573f394d826-image.png
      3490be0e-f1fc-416d-b316-2e60950e9208-image.png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @shiguangfeishi Please put the mouse cursor over the red exclamation mark next to the Qt version and tell us what the pop-up says. Would be also good to translate Chinise text to English.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 2 Replies Last reply
      0
      • jsulmJ jsulm

        @shiguangfeishi Please put the mouse cursor over the red exclamation mark next to the Qt version and tell us what the pop-up says. Would be also good to translate Chinise text to English.

        S Offline
        S Offline
        shiguangfeishi
        wrote on last edited by
        #3

        @jsulm
        The information indicated by the four red exclamation marks is the same
        e9167a0b-83c7-46f8-ae60-3b7d4ebb636c-image.png

        1 Reply Last reply
        0
        • jsulmJ jsulm

          @shiguangfeishi Please put the mouse cursor over the red exclamation mark next to the Qt version and tell us what the pop-up says. Would be also good to translate Chinise text to English.

          S Offline
          S Offline
          shiguangfeishi
          wrote on last edited by
          #4

          @jsulm
          7a866666-c081-4640-b66a-43b550afbc6a-image.png

          JoeCFDJ 1 Reply Last reply
          0
          • S shiguangfeishi

            @jsulm
            7a866666-c081-4640-b66a-43b550afbc6a-image.png

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

            @shiguangfeishi Your Java version is too high and go take a look at my previous posts about Android build. Pay attention to compatibility of all packages. I guess you did not install Android SDK. Click SDK manager to select SDK for Android 13 or 12, or 11.

            S 1 Reply Last reply
            0
            • JoeCFDJ JoeCFD

              @shiguangfeishi Your Java version is too high and go take a look at my previous posts about Android build. Pay attention to compatibility of all packages. I guess you did not install Android SDK. Click SDK manager to select SDK for Android 13 or 12, or 11.

              S Offline
              S Offline
              shiguangfeishi
              wrote on last edited by
              #6

              @JoeCFD After lowering the version of JDK, it still doesn't work
              78b689f6-2e59-4022-a4ee-e80d9176e233-image.png
              This problem has been bothering me for a week now. How could this configuration be so troublesome. Also, I couldn't find your previous post about Android building. If possible, please send me a link.

              JoeCFDJ 1 Reply Last reply
              0
              • S shiguangfeishi

                @JoeCFD After lowering the version of JDK, it still doesn't work
                78b689f6-2e59-4022-a4ee-e80d9176e233-image.png
                This problem has been bothering me for a week now. How could this configuration be so troublesome. Also, I couldn't find your previous post about Android building. If possible, please send me a link.

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

                @shiguangfeishi Click the SDK manager button and scroll down to select SDK packages to install. What is your target Android version?

                S 1 Reply Last reply
                0
                • JoeCFDJ JoeCFD

                  @shiguangfeishi Click the SDK manager button and scroll down to select SDK packages to install. What is your target Android version?

                  S Offline
                  S Offline
                  shiguangfeishi
                  wrote on last edited by
                  #8

                  @JoeCFD
                  Already installed
                  35c82c5f-9869-4d95-976e-d1e07c88eb8e-image.png

                  JoeCFDJ 1 Reply Last reply
                  0
                  • S shiguangfeishi

                    @JoeCFD
                    Already installed
                    35c82c5f-9869-4d95-976e-d1e07c88eb8e-image.png

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

                    @shiguangfeishi
                    Look at here:
                    https://developer.android.com/build/jdks

                    For Android 12, you need Java 11

                    S 1 Reply Last reply
                    0
                    • JoeCFDJ JoeCFD

                      @shiguangfeishi
                      Look at here:
                      https://developer.android.com/build/jdks

                      For Android 12, you need Java 11

                      S Offline
                      S Offline
                      shiguangfeishi
                      wrote on last edited by
                      #10

                      @JoeCFD That's it, thank you for your answer. If I want to use Android 8, can I only install Qt5?

                      JoeCFDJ 1 Reply Last reply
                      0
                      • S shiguangfeishi

                        @JoeCFD That's it, thank you for your answer. If I want to use Android 8, can I only install Qt5?

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

                        @shiguangfeishi I guess Android 8 is pretty old. I do not know if Qt5 works or not in Android 8. Simply try it out with a small test code.

                        1 Reply Last reply
                        0
                        • JoeCFDJ JoeCFD referenced this topic on

                        • Login

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