Qt Android Application is running on the virtual device but not on the real device
-
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).
Thanks. -
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).
Thanks.@Ibrahim
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. :)@Ibrahim
The target platform is specified by the selected build target and the configured android kit (compiler). See QtCreator settings.Some emulators are x86 only, some others do also support ARM.
To check the processor type of your device check the internet. -
-
No need to reinstall. Just start the Qt maintenance tool, go to "Add or remove components" and install the ARM version.
-
@Ibrahim
you should start the MaintainanceTool.exe in the installation path of your existing Qt installation, instead rerunning the setup all over again.