Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt Android Application is running on the virtual device but not on the real device
Ibrahim last edited by Ibrahim
Hi, I am running Qt Android application on the virtual device but it is not running on the real device (Android Mini PC API 4.1). The application is starting on the mini pc but screen darkens and the application closes. Then I closed program and I open program again but program is not running this time. I set:
AndroidManifest.xml File (Image)
Build Android APK (Image)
Project is very easy. This is project file (not apk file) (55.4 KB): Project Download Link (Mail.Ru).
just a stupid guess: are you sure you are not trying to run a x86 apk on a ARM device?
I'm sorry. I don't know, how can I know that? And how can I know the devices are x86 or ARM and how can I compile x86 or ARM my Android application in Qt?
I am a beginner for mobile applications. :)
Some emulators are x86 only, some others do also support ARM.
To check the processor type of your device check the internet.
While I was installing Qt, I did not install Android-armv7 with Qt: imagelink. So, while I was deploying Android application, I haven't got this option (Android for armeabi-v7a): imagelink. Should I reinstall Qt with Android-arm-v7 else can I doing this option other ways?
No need to reinstall. Just start the Qt maintenance tool, go to "Add or remove components" and install the ARM version.
But I can not select installed path. Error: imagelink.
you should start the MaintainanceTool.exe in the installation path of your existing Qt installation, instead rerunning the setup all over again.
I deployed my application (Arm-v7 not x86) and ok!