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. Android settings have errors (Qt Creator 12.0.2)
Forum Updated to NodeBB v4.3 + New Features

Android settings have errors (Qt Creator 12.0.2)

Scheduled Pinned Locked Moved Solved Mobile and Embedded
6 Posts 3 Posters 805 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.
  • P Offline
    P Offline
    Poldi
    wrote on 15 Mar 2024, 05:43 last edited by
    #1

    I'm trying to set up an Android device and have found the following issue
    android.png

    I have installed the Sdk and ndk via Android Studio (Iguana)

    Thanks

    R 1 Reply Last reply 15 Mar 2024, 05:55
    0
    • P Poldi
      15 Mar 2024, 05:43

      I'm trying to set up an Android device and have found the following issue
      android.png

      I have installed the Sdk and ndk via Android Studio (Iguana)

      Thanks

      R Offline
      R Offline
      Ronel_qtmaster
      wrote on 15 Mar 2024, 05:55 last edited by
      #2

      @Poldi Hi.Main errors come from your android sdk.
      You did not installed a platform sdk.Do you compile for android 28?, 29, 31 ,32?
      Moreover, you have to install the google image that correspond to these platform sdk from your sdk cmdline tool.If you click to apply, Qt might show you the exact version of platform sdk you need to install.

      Hope it helps

      P 1 Reply Last reply 15 Mar 2024, 23:34
      1
      • R Ronel_qtmaster
        15 Mar 2024, 05:55

        @Poldi Hi.Main errors come from your android sdk.
        You did not installed a platform sdk.Do you compile for android 28?, 29, 31 ,32?
        Moreover, you have to install the google image that correspond to these platform sdk from your sdk cmdline tool.If you click to apply, Qt might show you the exact version of platform sdk you need to install.

        Hope it helps

        P Offline
        P Offline
        Poldi
        wrote on 15 Mar 2024, 23:34 last edited by
        #3

        @Ronel_qtmaster
        As far as I can tell and image and the tools are installed via Android studio

        SDK.png
        SDK Tools.png

        I'm not sure why there is a tick for the installation, but a failure for the execution.
        Can I enable some logging so I can see whwre this fails?
        Thanks

        P 1 Reply Last reply 15 Mar 2024, 23:45
        0
        • P Poldi
          15 Mar 2024, 23:34

          @Ronel_qtmaster
          As far as I can tell and image and the tools are installed via Android studio

          SDK.png
          SDK Tools.png

          I'm not sure why there is a tick for the installation, but a failure for the execution.
          Can I enable some logging so I can see whwre this fails?
          Thanks

          P Offline
          P Offline
          Poldi
          wrote on 15 Mar 2024, 23:45 last edited by
          #4

          @Poldi Trying the Qt Creator SDK Manager I get this

          SDK Manager.png

          P 1 Reply Last reply 17 Mar 2024, 03:08
          0
          • P Poldi
            15 Mar 2024, 23:45

            @Poldi Trying the Qt Creator SDK Manager I get this

            SDK Manager.png

            P Offline
            P Offline
            Poldi
            wrote on 17 Mar 2024, 03:08 last edited by
            #5

            @Poldi I fixed this, but not sure how it got screwed in the first place.

            I created a new user and installed first Android Studio and then Qt for that user (only).
            When I went to the Android Device tab this window popped up
            Android1.png

            And after that everything was working as expected.

            I then went to the account I have the issue with and removed relevant files in .cache, .config and any reference to android in QtCreator.ini.

            After starting Qt Creator I was prompted to install the missing packaged and the SDK Manager in Qt Creator now looks like this
            SDK ok.png

            1 Reply Last reply
            0
            • P Poldi has marked this topic as solved on 18 Mar 2024, 21:41
            • N Offline
              N Offline
              nardi
              wrote on 26 Aug 2024, 14:41 last edited by
              #6

              Hi. I had the same issue, found the problem is the version of JAVA, when you select the JDK location select the latest version. This problem ocurred when i was using the v11 and it worked fine using v17.

              1 Reply Last reply
              0

              1/6

              15 Mar 2024, 05:43

              • Login

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