Important: Please read the Qt Code of Conduct -

Installing to device failed due to invalid APK file.

  • I get this error when deploying my app on smartphone. Compiling works fine. Any idea what is wrong?

    Installing Android package to device.
    Running command "C:/Users/Sebastian/AppData/Local/Android/sdk/platform-tools/adb.exe -s MUYDU15A13002185  install -r D:/Qt/android-build//bin/QtApp-debug.apk"
    Invalid APK file: D:/Qt/android-build//bin/QtApp-debug.apk
    Installing to device failed!
    13:31:14: Der Prozess "C:/Qt/Qt5.6.0/5.6/android_armv7/bin/androiddeployqt.exe" wurde mit dem Rückgabewert 16 beendet.
    13:31:14: Die für das Debuggen erforderlichen Dateien werden installiert.
    13:31:14: Paket-Deployment: Führe Kommando "C:/Users/Sebastian/AppData/Local/Android/sdk/platform-tools/adb.exe -s MUYDU15A13002185 pull /system/bin/app_process32 D:/Qt/app_process" aus.
    13:31:14: Paket-Deployment: Führe Kommando "C:/Users/Sebastian/AppData/Local/Android/sdk/platform-tools/adb.exe -s MUYDU15A13002185 pull /system/lib/ D:/Qt/" aus.
    Fehler beim Erstellen/Deployment des Projekts MyApplication (Kit: Android für armeabi-v7a (GCC 4.9, Qt 5.6.0))
    Bei der Ausführung von Schritt "Deployment auf Android-Gerät"
    13:31:15: Verstrichene Zeit: 00:15.

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Might be a silly question but is your device running on an armv7 processor ?

Log in to reply