[Qt-creator] Problem with Android SDK tools and platform SDK

Harri Pasanen harri at mpaja.com
Sat Apr 11 09:43:08 CEST 2020


Hi,

I ran into exactly the same issue, trying to set up Qt 5.14.2 for Android
development on Ubuntu.

Some more observations:

Installing Android SDK command line tools via Android Studio, and doing
ln -s ~/Android/Sdk/cmdline-tools ~/Android/Sdk/tools

turns the "SDK tools installed" green, but causes then warnings elsewhere
when running sdkmanager manually.

Installing commandlinetools-linux-6200805_latest.zip manually  has another
issue:
https://stackoverflow.com/questions/60440509/android-command-line-tools-sdkmanager-always-shows-warning-could-not-create-se

Also to note that NDK installed via Android Studio (Side by side) can be
used, NDK path the being something like
/home/harri/Android/Sdk/ndk/21.0.6113669


Next I'll see if QtCreator beta behaves the same.

Thanks,
Harri




On Thu, Apr 9, 2020 at 9:07 AM Christian Gagneraud <chgans at gmail.com> wrote:

> Hi there,
>
> I've installed Android NDK and Android Studio v3.6.1 (latest).
> Using Android studio SDK Manager i've installed:
> - SDK platforms
>  - 28
>  - 29
> - SDK tools:
>  - Build tools 30-rc2
>  - Command line tools (latest)
>  - Platform tools (29.0.6)
>
> When configuring Qtc:
> JDK: android-studio/jre/
> SDK: /home/chgans/Android/Sdk/ (installed by Studio)
> NDK: /home/chgans/Programs/android-ndk-r21 (installed by me)
>
> Now, I have all ticks green except:
>  - SDK tools installed
>  - Plaform SDK installed
>
> The AVD and SDK manager tabs are disabled.
>
> $ ls Android/Sdk/
> build-tools  cmdline-tools  licenses  patcher  platforms
> platform-tools  sources
> $ ls Android/Sdk/platforms/
> android-28  android-29$ ls Android/Sdk/*-tools
> Android/Sdk/build-tools/:
> 29.0.3  30.0.0-rc2
> Android/Sdk/cmdline-tools/:
> latest
> chgans at chgans-pc:~$ ls Android/Sdk/*-tools
> Android/Sdk/build-tools:
> 29.0.3  30.0.0-rc2
> Android/Sdk/cmdline-tools:
> latest
> Android/Sdk/platform-tools:
> adb  dmtracedump  etc1tool  hprof-conv  <snip>
>
> My setup looks correct but QtC doesn't seem happy.
>
> Is there known issues with latest Android Studio, or did i get something
> wrong?
>
> I never had this problem with previous installs of Qt & Android.
>
> Thanks,
> Chris
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> https://lists.qt-project.org/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20200411/3016750c/attachment.html>


More information about the Qt-creator mailing list