Android app deployment failed



  • Hi,

    Lately, and i am using the master QtCreator i cannot run Android apps, it results in the error below:

    21:40:16: The process "/opt/local/qt/5.4/android_armv7/bin/androiddeployqt" exited normally.
    21:40:16: Pulling files necessary for debugging.
    21:40:16: Package deploy: Running command "/opt/local/android/platform-tools/adb -s 479002f2c9ac9100 pull /system/bin/sh: readlink: not found /Users/vlad/Developer/Qt/ucampaign-qt-Android_for_armeabi_v7a_GCC_4_9_Qt_5_4_1-Debug/app_process".
    21:40:16: Packaging error: Command "/opt/local/android/platform-tools/adb -s 479002f2c9ac9100 pull /system/bin/sh: readlink: not found /Users/vlad/Developer/Qt/ucampaign-qt-Android_for_armeabi_v7a_GCC_4_9_Qt_5_4_1-Debug/app_process" failed.Exit code: 1
    21:40:16: Package deploy: Failed to pull "/system/bin/sh: readlink: not found" to "/Users/vlad/Developer/Qt/ucampaign-qt-Android_for_armeabi_v7a_GCC_4_9_Qt_5_4_1-Debug/app_process".
    21:40:16: Package deploy: Running command "/opt/local/android/platform-tools/adb -s 479002f2c9ac9100 pull /system/lib/libc.so /Users/vlad/Developer/Qt/ucampaign-qt-Android_for_armeabi_v7a_GCC_4_9_Qt_5_4_1-Debug/libc.so".
    Error while building/deploying project ucampaign-qt (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.4.1))



  • An update, i do not have readlink on my Samsung S3 phone, it still running 4.1

    I found that this commit is the reason:

    https://github.com/qtproject/qt-creator/commit/81c798930170a88076abd23c5001c91596fab7ab

    Well, i can changed the QTC(i use modified version anyway with advanced QML/JS outline patch) or somehow install readlink to my phone.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.