How to ask qt to create an apk package for android without running a simulator

Android simulator is very slow, I don’t want to debug it using simulator. I just want qt to create an APK file and copy it to real hardware and test it.

But it seems that there is no option for qt to simply create an APK file.

I am using qt5.1.0 in windows 7 64bit

Does anyone know how to do this?

+4
source share
2 answers

The Android simulator is slow because most Android devices are army architecture. You can use android sdk to create X86 avd (or use genymotion) and compile your qt project in X86 android mode. He will run the test and work very fast.

Alternatively, you can create your project on the command line (not in the qt creator). Here is a message that will show you how to do this.

+2
source

Here is a very quick alternative:

genymotion

which you can also run from eclipse and android studio.

+1
source

Source: https://habr.com/ru/post/1492434/


All Articles