qt选项没有安卓,Qt的为Android没有找到任何兼容设备

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.

4z8Lj.png

32Z9k.png

bsbW3.png

解决方案

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值