How to change android architecture for which android apk is created?
-
wrote on 9 May 2020, 08:31 last edited by
Hi,
I've got a problem, that apk builder architecture and my emulator architecture don't match. I use x86 architecture on android emulator, and when trying to deploy app on it I getINSTALL_FAILED_NO_MATCHING_ABIS
So there's my question. Where I could change the ABI that is used for building apk? -
wrote on 9 May 2020, 17:56 last edited by
I think it is Projects -> Android... Build -> Build Android APK, then the Details button.
-
wrote on 9 May 2020, 20:22 last edited by
I don't see any option for that in
Build Android APK
:/ -
wrote on 9 May 2020, 21:02 last edited by Padlock 5 Sept 2020, 21:04
Sorry, I misread the subject line and haven't looked up that error message.
Most likely your Android emulator is not an x86 version. -
wrote on 9 May 2020, 22:04 last edited by
Unfortunately my android emulator is indeed x86.
-
wrote on 10 May 2020, 00:37 last edited by
So, what else coulde make it to fail?
-
wrote on 10 May 2020, 10:48 last edited by
I don't know. My error is like I said
INSTALL_FAILED_NO_MATCHING_ABIS
I'm using x86 android 10 emulator that was created through avd manager in android studio. -
wrote on 10 May 2020, 11:52 last edited by
This error says that the platforms are not compatible. Because you're sure you've built for the emulator's CPU could it be an issue with 32 or 64 bit? If the emulator is x86 32 bit and you built for x86 64 you'd receive that error too.
-
wrote on 11 May 2020, 19:31 last edited by
Unfortunately I tried with x86_64 but it still doesn't work
-
wrote on 11 May 2020, 23:14 last edited by
You've tried what exactly?
-
wrote on 12 May 2020, 01:51 last edited by
Hi @Arko,
I think it's easier if I give you an example to run an app in simulator.
First, I have project setting like this:
This means I choos x86 as apk output architecture.
Then when try to run my project, the device selection with be shown, just choose the correct architecture, as below I have 2 devices match with setting, just choosr 1 one. Then APK will work fine.
My system info: Ubuntu 18.04, Qt 5.14.1. -
Hi @Arko,
I think it's easier if I give you an example to run an app in simulator.
First, I have project setting like this:
This means I choos x86 as apk output architecture.
Then when try to run my project, the device selection with be shown, just choose the correct architecture, as below I have 2 devices match with setting, just choosr 1 one. Then APK will work fine.
My system info: Ubuntu 18.04, Qt 5.14.1.wrote on 24 Feb 2024, 21:33 last edited by@Quang-Phu hi can you help me
-
wrote on 17 Feb 2025, 08:58 last edited by
You've tried what exactly?
-
wrote on 17 Mar 2025, 09:26 last edited byThis post is deleted!