[Qbs] Issues building for Android

Raphael Cotty raphael.cotty at gmail.com
Wed Oct 14 20:42:36 CEST 2020


Hi,
QtCreator manages the qbs configuration (in
$HOME/.config/QtProjects/qtcreator/qbs/).
In Options / Devices / Android widget you should be able to check if qtc is
ok with your sdk and ndk.
If you select a different path for your sdk/ndk then the qbs profile
is/should be updated (not sure if it works properly).
Raph

Le mer. 14 oct. 2020 à 18:59, Ola Røer Thorsen <ola at silentwings.no> a
écrit :

> man. 12. okt. 2020 kl. 20:34 skrev Raphael Cotty <raphael.cotty at gmail.com
> >:
>
>> Hi,
>> Looks like your android profile is not correct.
>>
>
> Agreed. (It was set up automatically by QtCreator).
>
>
>> What do you have for the sdkDir/ndkDir keys?
>> Are they pointing to the android sdk/ndk?
>>
>
> Android.sdk.sdkDir: /home/<user>/Android/Sdk
> Android.ndk.ndkDir: /home/<user>/Android/Sdk/ndk/21.1.6352462
> (these paths exist)
>
> I now also tried to build using Qt 5.14.2, but no change (still problems
> starting with not finding the aidl tool).
>
> Seems like something is broken where the kit is set up, as the
> Android.sdk.buildToolsVersion is not set.
>
> Is a clean install of Qt, QtCreator + QtCreator setting up the Android
> SDK/NDK a part of the CI for Qbs?
>
> If anyone can share a complete and working android profile here, then I
> can try to fill in the blanks in the QtCreator kit.
>
> Best regards,
> Ola
>
>
>
>
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> https://lists.qt-project.org/listinfo/qbs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20201014/a7d35c2e/attachment.html>


More information about the Qbs mailing list