且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Qt的为Android没有找到任何兼容设备

更新时间:2023-02-26 17:29:25

有Qt Creator中的一个错误:的 https://bugreports.qt-project.org/browse/QTCREATORBUG-11658

It is a bug in Qt Creator: https://bugreports.qt-project.org/browse/QTCREATORBUG-11658

这是一个行为改变在Android SDK中,列出了一些preFIX虚拟设备的最新版本。因此,而不是armeabi-V7A它返回缺省的/ armeabi-V7A,导致QtCreator抱怨ABI不支持。

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.

您可以克服这个问题:

在QtCreator - >项目 - > BuildEnvironment添加变量

In QtCreator -> Projects -> BuildEnvironment add the variable

ANDROID_TARGET_ARCH=default/armeabi-v7a

然后自动真空淀积系统显示为兼容。

Then the AVDs are shown as compatible.