[Qt-creator] Error in Android deployment

Ziller Eike Eike.Ziller at theqtcompany.com
Mon Oct 26 07:59:06 CET 2015


> On Oct 25, 2015, at 11:32 AM, HPC-TECH <info at hpc-tech.com> wrote:
> 
> Hi
> 
> I'm unable to deploy to AVD (API 17) correctly because of the following 
> error:
> 
>> |17:01:39: The process 
>> "/home/hpctech-work/.Qt/5.5/android_armv7/bin/androiddeployqt" exited 
>> normally. 17:01:39: Pulling files necessary for debugging. 17:01:39: 
>> Package deploy: Running command 
>> "/home/hpctech-work/.Qt/android-sdk-linux/platform-tools/adb -s 
>> emulator-5554 pull /system/bin/sh: readlink: not found 
>> /home/hpctech-work/Desktop/build-Test2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_5_0-Debug/app_process". 
>> 17:01:39: Packaging error: Command 
>> "/home/hpctech-work/.Qt/android-sdk-linux/platform-tools/adb -s 
>> emulator-5554 pull /system/bin/sh: readlink: not found 
>> /home/hpctech-work/Desktop/build-Test2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_5_0-Debug/app_process" 
>> failed.Exit code: 1 17:01:39: Package deploy: Failed to pull 
>> "/system/bin/sh: readlink: not found" to 
>> "/home/hpctech-work/Desktop/build-Test2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_5_0-Debug/app_process". 
>> 17:01:39: Package deploy: Running command 
>> "/home/hpctech-work/.Qt/android-sdk-linux/platform-tools/adb -s 
>> emulator-5554 pull /system/lib/libc.so 
>> /home/hpctech-work/Desktop/build-Test2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_5_0-Debug/libc.so". 
>> Error while building/deploying project Test2 (kit: Android for 
>> armeabi-v7a (GCC 4.9, Qt 5.5.0)) When executing step "Deploy to 
>> Android device" 17:01:39: Elapsed time: 01:45. |
> 
> I tried to reset my configurations and used another PC (fresh 
> installation) but I always get same result!
> 
>  * OS: Linux Mint 17.2 x64 xfce
>  * Qt: 5.5.1
>  * Qt Creator: 3.5.1 (opensource)

Looks like https://bugreports.qt.io/browse/QTCREATORBUG-15006
It depends on the device you are trying to run on.

You can try the 3.6 beta which should have the fix from here: http://download.qt.io/snapshots/qtcreator/3.6.0-beta1/latest/

Br, Eike

-- 
Eike Ziller, Senior Software Engineer - The Qt Company GmbH
 
The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B



More information about the Qt-creator mailing list