Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt android deployment
I'm new to develop android app with Qt on Windows. When I run the famous Hello World, to the AVD I created before, I got the message below. Any idea ?
"Error while building/deploying project Essai (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.7.0))
When executing step "Deploy to Android device"
Thanks in advance.
Hi and welcome to devnet,
You have to provide the full error message in order for us to be able to help you.
But it's the full message from the "Compile Output" window in Qt.
Are you able to build your application ?
Yes the build was successfull. Could be something with the AVD used ?
timday last edited by timday
I've been installing built apks to devices using the android SDK's abd from the commandline (not a fan of IDE's; oldschool, me). e.g:
~/download/android-sdk-linux/platform-tools/adb install deploy/bin/QtApp-debug.apk
where deploy is the folder androiddeployqt built.
Does that give you any more informative errors? (For example, I know it'll tell you an install fails when you try and install an ARM binary on an x86 emulator).
I think it is something with the AVD I created. Because I tried to create several AVD and one time, the deployment was ok. But now, I don't remember what I tried...
I tried with a command line and got the following error msg.
droid-build\bin>adb install deploy qtapp-debug.apk
Any idea ?
GTDev last edited by
one possibility might also be that there is a problem with the AndroidManifest configuration.
For example a wrong invalid android package name (with invalid characters) or a minSDKVersion setting that does not support the device.
Maybe checking the manifest configuration helps to find the issue?