Qt5 for Android: Incompatible ABI

I recently installed Qt5 and it works like a charm for API 17 and armeabi-v7a.
But I added a second AVD with other parameters (of course, I installed the packages in the AVD settings). Now I can not compile the first project and the new project for API10. When checking any toolchain (armeabi or armeabi-v7a), the window for selecting AVD says that I do not have a compatible AVD (messages show that AVD supports default/armeabi or default/armeabi-v7a ).
Does anyone know how I can fix this? I think the problem is with " default/ " ...

+8
android qt android-ndk
source share
3 answers

There seems to be another way around the problem:

In QtCreator -> Projects -> BuildEnvironment add a variable

ANDROID_TARGET_ARCH = default / armeabi -v7a

Then the AVDs are displayed as compatible.

+19
source share

It turned out that this is really a changed behavior in the latest version of the Android SDK, where it lists AVD with the tag information prefix. So instead of armeabi-v7a it returns default/armeabi-v7a , as a result of which QtCreator complains that ABI is not supported.

Here is the QtCreator error report: https://bugreports.qt.io/browse/QTCREATORBUG-11658

You can either wait for the new QtCreator to be released after the patch comes in (it will be reviewed at the moment), or you can try downgrading your Android SDK Tools from version 22.6 to what only ABI: armeabi-v7a reports ABI: armeabi-v7a Tag/ABI: default/armeabi-v7a when running android list avd

+9
source share

It took some time to figure out how to abandon Android SDK Tools 22.6. Here's how to downgrade:

  • Download Android SDK Tools 22.3

  • Rename the tools-folder to tools-22.6 under the SDK (e.g. ~ / adt-bundle-linux-x86_64-20131030 / sdk / tools)

  • Extract downloaded tools to the path above.
+3
source share

All Articles