I'm trying to write android applications with Qt5.2. My project builds without any error, but when i'm trying to RUN it says i don't have any compatible devices. I configured QT creator according to this enter link description here

I don't know what's the problem. I will appreciate any help from you.

解决方案

It is a changed behaviour in the latest version of the Android SDK that lists Virtual Devices with some prefix. So instead of armeabi-v7a it's returning default/armeabi-v7a, resulting in QtCreator complaining that the ABI is not supported.

You can overcome this problem by:

In QtCreator -> Projects -> BuildEnvironment add the variable

ANDROID_TARGET_ARCH=default/armeabi-v7a

Then the AVDs are shown as compatible.

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐