Android settings have errors (Qt Creator 12.0.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
-
@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 -
@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
-