Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-37214

androiddeployqt regression: "--deployment debug" not working on Windows anymore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • 5.3.0 Alpha
    • 5.2.1
    • QPA
    • None
    • Windows
    • Android

    Description

      When using androiddeployqt with "--deployment debug" (via "Deploy local Qt libraries to temporary directory" in Qt Creator) on Windows, it fails with the following error message:

      01:35:30: Running steps for project untitled7...
      01:35:30: Configuration unchanged, skipping qmake step.
      01:35:30: Starting: "F:\Qt\Tools\mingw48_32\bin\mingw32-make.exe" 
      mingw32-make: Nothing to be done for 'first'.
      01:35:30: The process "F:\Qt\Tools\mingw48_32\bin\mingw32-make.exe" exited normally.
      01:35:30: Removing directory C:\Users\Alessandro\Desktop\build-untitled7-Android_for_armeabi_GCC_4_8_Qt_5_2_1-Debug\android-build
      01:35:30: Starting: "F:\Qt\Tools\mingw48_32\bin\mingw32-make.exe" INSTALL_ROOT="C:\Users\Alessandro\Desktop\build-untitled7-Android_for_armeabi_GCC_4_8_Qt_5_2_1-Debug\android-build" install
      copy /y "libuntitled7.so" "C:\Users\Alessandro\Desktop\build-untitled7-Android_for_armeabi_GCC_4_8_Qt_5_2_1-Debug\android-build\libs\armeabi\libuntitled7.so"
              1 Datei(en) kopiert.
      01:35:31: The process "F:\Qt\Tools\mingw48_32\bin\mingw32-make.exe" exited normally.
      01:35:31: Starting: "F:\Qt\5.2.1\android_armv5\bin\androiddeployqt.exe" --input C:/Users/Alessandro/Desktop/build-untitled7-Android_for_armeabi_GCC_4_8_Qt_5_2_1-Debug/android-libuntitled7.so-deployment-settings.json --output C:/Users/Alessandro/Desktop/build-untitled7-Android_for_armeabi_GCC_4_8_Qt_5_2_1-Debug/android-build --deployment debug --install --ant F:/Qt/apache-ant-1.9.3/bin/ant.bat --android-platform android-19 --jdk "F:/Program Files/Java/jdk1.7.0_51" --device 3434F5B1AAB300EC
      01:35:31: Pulling files necessary for debugging.
      01:35:31: Package deploy: Running command 'C:/Program Files (x86)/Android/android-sdk/platform-tools/adb.exe -s 3434F5B1AAB300EC pull /system/bin/app_process C:/Users/Alessandro/Desktop/build-untitled7-Android_for_armeabi_GCC_4_8_Qt_5_2_1-Debug/app_process'.
      01:35:31: Package deploy: Running command 'C:/Program Files (x86)/Android/android-sdk/platform-tools/adb.exe -s 3434F5B1AAB300EC pull /system/lib/libc.so C:/Users/Alessandro/Desktop/build-untitled7-Android_for_armeabi_GCC_4_8_Qt_5_2_1-Debug/libc.so'.
      cannot stat 'C:/Users/Alessandro/AppData/Local/Temp/android-build-{c03a803d-0cc4-4783-a062-53d129981522}/': No such file or directory
      Generating Android Package
        Input file: C:/Users/Alessandro/Desktop/build-untitled7-Android_for_armeabi_GCC_4_8_Qt_5_2_1-Debug/android-libuntitled7.so-deployment-settings.json
        Output directory: C:/Users/Alessandro/Desktop/build-untitled7-Android_for_armeabi_GCC_4_8_Qt_5_2_1-Debug/android-build
        Application binary: C:/Users/Alessandro/Desktop/build-untitled7-Android_for_armeabi_GCC_4_8_Qt_5_2_1-Debug/libuntitled7.so
        Android build platform: android-19
        Install to device: 3434F5B1AAB300EC
      Copying files to device failed!
      01:35:33: The process "F:\Qt\5.2.1\android_armv5\bin\androiddeployqt.exe" exited with code 17.
      Error while building/deploying project untitled7 (kit: Android for armeabi (GCC 4.8, Qt 5.2.1))
      When executing step 'Deploy to Android device'
      

      This happens with Qt 5.2.1. It used to work well in Qt 5.2.0, though.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes