PDA

View Full Version : Cant run app on Android x86 emulator



nuliknol
17th August 2016, 15:51
Hi,
my QT Widgets app runs on Desktop x86 and Android ARM architectures fine. But it doesn't run on Android X86 emulator. The error I get doesn't give any clues on what is happening:


BUILD SUCCESSFUL
Total time: 17 seconds
Android package built successfully in 18.571 ms.
-- File: /home/niko/wrkgr/androidx86/client_app/android-build//bin/QtApp-debug.apk
09:27:01: The process "/opt/Qt/5.7/android_x86/bin/androiddeployqt" exited normally.
Error while building/deploying project MyApp3 (kit: Android for x86 (GCC 4.9, Qt 5.7.0))
When executing step "Deploy to Android device"
09:29:44: Elapsed time: 03:02.

The emulator starts fine, I already put it into development mode. Everything works, but the app is not being shown on the Android X86 OS, why is this happening ? Do I have to use USB cable or how is the transfer of the .apk goes to the OS?

Jamie
25th November 2016, 07:02
Hello,

I am get the exact same error as you have. Did you manage to find a solution?
I am running QT on 64bit Ubuntu 16.04. I can run the widget on desktop but when I try the Android ARM architecture I get the same error except where your says androidx86 mine has android_armv7.
I am still very new to programming and to QT.
I have tried everything possible that I can think of.
Thanks