[solved] Android debug problem



  • Hello, I have problem with android debugging on linux. Application is compiled and copied to emulator but it is not executed. Compile output error:

    • 10:37:59: The process "/home/sr/progs/Qt/5.5/android_armv7/bin/androiddeployqt" exited normally.
    • 10:37:59: Pulling files necessary for debugging.
    • 10:37:59: Package deploy: Running command "/home/sr/progs/android-sdk-linux/platform-tools/adb -s emulator-5554 pull /system/bin/sh: readlink: not found /homesr/projects/qt-quick-test/build-qt-quick-test-Android_for_armeabi_v7a_GCC_4_9_Qt_5_5_0-Debug/app_process".
    • 10:37:59: Packaging error: Command "/home/sr/progs/android-sdk-linux/platform-tools/adb -s emulator-5554 pull /system/bin/sh: readlink: not found /home/sr/projects/qt-quick-test/build-qt-quick-test-Android_for_armeabi_v7a_GCC_4_9_Qt_5_5_0-Debug/app_process" failed.Exit code: 1
    • 10:37:59: Package deploy: Failed to pull "/system/bin/sh: readlink: not found" to "/home/sr/projects/qt-quick-test/build-qt-quick-test-Android_for_armeabi_v7a_GCC_4_9_Qt_5_5_0-Debug/app_process".
    • 10:37:59: Package deploy: Running command "/home/sr/progs/android-sdk-linux/platform-tools/adb -s emulator-5554 pull /system/lib/libc.so /home/sr/projects/qt-quick-test/build-qt-quick-test-Android_for_armeabi_v7a_GCC_4_9_Qt_5_5_0-Debug/libc.so".
    • Error while building/deploying project qt-quick-test (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.5.0))
    • When executing step "Deploy to Android device"


  • Finally I solved this by android API/SDK upgrade (17 -> 19).


Log in to reply
 

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