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

Assam Boudjelthia assam.boudjelthia at qt.io
Fri Apr 10 14:15:16 CEST 2020


Hi Christian,

________________________________
> From: Qt-creator <qt-creator-bounces at qt-project.org> on behalf of Christian Gagneraud <chgans at gmail.com>
> Sent: Thursday, April 9, 2020, 9:08 AM
> To: qt-creator
> Subject: [Qt-creator] Problem with Android SDK tools and platform SDK

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

Looking at this it seems that Android SDK introduced a new packages "cmdline-tools" which offers the same as the old package "tools" and Qt Creator is looking for "tools" package. So QC would need a fix for this. Meanwhile, I suggest installing the package "tools" if it's still available from the sdkmanager and make sure you have the SDK tools directory under <sdkPath>/tools which has sdkmanager and avdmanager tools.

>
> Thanks,
> Chris

Best regards,
Assam

_______________________________________________
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/20200410/370e76ea/attachment.html>


More information about the Qt-creator mailing list