My first android app: error deploying
-
Hi,
I am trying to make an android app with QtCreator under Linux. I set up the android sdk and ndk, and compiling is working, but I then get an error in the deployment step:
"Cannot find the android build step. Error while building/deploying project test (kit: Android for x86 (Clang Qt 5.12.0 for Android x86))
When executing step "Deploy to Android device"So I have several questions:
- Is the Kit Android for x86 the right one? (x86 is the build or target platform?)
- What do I need to do to make deployment work?
-
If I connect my phone via a usb cable, and in the deploy configuartions try to select it, it is listes with its id, but says abi is incompatible, device supports abis: .
@maxwell31 said in My first android app: error deploying:
If I connect my phone via a usb cable, and in the deploy configuartions try to select it, it is listes with its id, but says abi is incompatible, device supports abis: .
Looks like you have the wrong tool chain chosen. However, that depends on what you have.
x86 kit I can use only for x86 AVDs which are recommended because they are faster on a desktop.For my phone the armeabi toolchain is the correct. You can try and see the "Select Android Device" dialog you need to check the second line for your it tells you the required toolchain. You have to install the armeabi toolchain for this to show up.
-
Ok, so I have ARM on my phone, but I was not sure about which toolchain to use. But even if I use the armeabi-v7a toolchain, I get the same error. Or do I need a different toolchain?
So If I click on run, I now get a select device window, but it says that the abi is incompatible
-
Ok, so I have ARM on my phone, but I was not sure about which toolchain to use. But even if I use the armeabi-v7a toolchain, I get the same error. Or do I need a different toolchain?
So If I click on run, I now get a select device window, but it says that the abi is incompatible
You may need to enable the "developer options" on your phone. You can find under "settings"->"About phone". Tag a couple of times on to "Kernel version". It should tell you when the developer options are enabled.
Probably under "Settings"->"additional settings" you should find an entry "Deveopler options" for more selections.
Note: Names are not always the same on all devices. Evetually check with google for your device