Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Error in Android deployment

Error in Android deployment

Scheduled Pinned Locked Moved Solved Mobile and Embedded
androidandroiddeployqt
3 Posts 3 Posters 3.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HPCTECH
    wrote on 24 Oct 2015, 06:14 last edited by A Former User
    #1

    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)
    1 Reply Last reply
    0
    • B Offline
      B Offline
      brasscs1
      wrote on 24 Oct 2015, 16:59 last edited by
      #2

      i have also the same problem under debian 8 x64. i did see a post claiming it was qtcreator 3.5 issue and it was to be fixed with 3.51 but i see thats what you are running. i amm going to try a older ver of android sdk and see if that helps

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        ZoltanLutor
        wrote on 26 Oct 2015, 19:27 last edited by
        #3

        There are lots of bug reports related to this issues - I've read it will be fixed in QtCreator 3.6

        E.g.
        https://bugreports.qt.io/browse/QTCREATORBUG-14201
        https://bugreports.qt.io/browse/QTCREATORBUG-15177
        etc...

        So, long story in short we have to wait for a while...

        1 Reply Last reply
        1

        1/3

        24 Oct 2015, 06:14

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved