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
Forum Updated to NodeBB v4.3 + New Features

Qt Android build kit issues

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
11 Posts 3 Posters 1.1k 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 5 Dec 2023, 02:55 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

    J 1 Reply Last reply 5 Dec 2023, 06:36
    1
    • S shiguangfeishi
      5 Dec 2023, 02:55

      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

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 5 Dec 2023, 06:36 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 5 Dec 2023, 08:30
      0
      • J jsulm
        5 Dec 2023, 06:36

        @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 5 Dec 2023, 08:30 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
        • J jsulm
          5 Dec 2023, 06:36

          @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 5 Dec 2023, 08:40 last edited by
          #4

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

          J 1 Reply Last reply 5 Dec 2023, 21:14
          0
          • S shiguangfeishi
            5 Dec 2023, 08:40

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

            J Offline
            J Offline
            JoeCFD
            wrote on 5 Dec 2023, 21:14 last edited by JoeCFD 12 May 2023, 21:16
            #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 6 Dec 2023, 13:11
            0
            • J JoeCFD
              5 Dec 2023, 21:14

              @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 6 Dec 2023, 13:11 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.

              J 1 Reply Last reply 6 Dec 2023, 14:50
              0
              • S shiguangfeishi
                6 Dec 2023, 13:11

                @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.

                J Offline
                J Offline
                JoeCFD
                wrote on 6 Dec 2023, 14:50 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 6 Dec 2023, 14:57
                0
                • J JoeCFD
                  6 Dec 2023, 14:50

                  @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 6 Dec 2023, 14:57 last edited by
                  #8

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

                  J 1 Reply Last reply 6 Dec 2023, 15:03
                  0
                  • S shiguangfeishi
                    6 Dec 2023, 14:57

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

                    J Offline
                    J Offline
                    JoeCFD
                    wrote on 6 Dec 2023, 15:03 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 6 Dec 2023, 15:22
                    0
                    • J JoeCFD
                      6 Dec 2023, 15:03

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

                      For Android 12, you need Java 11

                      S Offline
                      S Offline
                      shiguangfeishi
                      wrote on 6 Dec 2023, 15:22 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?

                      J 1 Reply Last reply 6 Dec 2023, 16:02
                      0
                      • S shiguangfeishi
                        6 Dec 2023, 15:22

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

                        J Offline
                        J Offline
                        JoeCFD
                        wrote on 6 Dec 2023, 16:02 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
                        • J JoeCFD referenced this topic on 15 Dec 2023, 15:29

                        1/11

                        5 Dec 2023, 02:55

                        • Login

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