Android settings have errors (Qt Creator 12.0.2)
-
wrote on 15 Mar 2024, 05:43 last edited by
-
I'm trying to set up an Android device and have found the following issue
I have installed the Sdk and ndk via Android Studio (Iguana)
Thanks
wrote on 15 Mar 2024, 05:55 last edited by@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
-
@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
wrote on 15 Mar 2024, 23:34 last edited by@Ronel_qtmaster
As far as I can tell and image and the tools are installed via Android studioI'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 -
@Ronel_qtmaster
As far as I can tell and image and the tools are installed via Android studio
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 -
wrote on 17 Mar 2024, 03:08 last edited by
@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
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
-
-
wrote on 26 Aug 2024, 14:41 last edited by
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/6