Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-13493

Release build fails to deploy

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 3.3.0-rc1
    • Qt Creator 3.3.0-rc1
    • Android Support
    • None
    • Qt 5.3.2
    • ed2e963a15aa25bea500d30240151a44245e83d7

    Description

      Version info:

      Qt Creator 3.2.82 (3.3.0-rc1-enterprise)
      Based on Qt 5.4.0 (Clang 6.0 (Apple), 64 bit)
      
      Built on Nov 21 2014 at 04:53:08
      

      From revision d3dd264c37

      13:35:54: Running steps for project Sample_Undefined...
      13:35:54: Configuration unchanged, skipping qmake step.
      13:35:54: Starting: "/usr/bin/make" 
      make: Entering directory `/Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release'
      make: Nothing to be done for `first'.
      make: Leaving directory `/Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release'
      13:35:54: The process "/usr/bin/make" exited normally.
      13:35:54: Removing directory /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build
      13:35:55: Starting: "/usr/bin/make" INSTALL_ROOT=/Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build install
      make: Entering directory `/Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release'
      install -m 755 -p "libSample_Undefined.so" "/Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/libs/armeabi-v7a/libSample_Undefined.so"
      make: Leaving directory `/Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release'
      13:35:55: The process "/usr/bin/make" exited normally.
      13:35:55: Starting: "/Users/erik/dev/android/Qt5.3.2/5.3/android_armv7/bin/androiddeployqt" --input /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-libSample_Undefined.so-deployment-settings.json --output /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build --deployment bundled --android-platform android-20 --jdk /usr --ant /usr/local/bin/ant
      Unable to find a $JAVA_HOME at "/usr", continuing with system-provided Java...
      Unable to find a $JAVA_HOME at "/usr", continuing with system-provided Java...
      Unable to find a $JAVA_HOME at "/usr", continuing with system-provided Java...
      Unable to find a $JAVA_HOME at "/usr", continuing with system-provided Java...
      Generating Android Package
        Input file: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-libSample_Undefined.so-deployment-settings.json
        Output directory: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build
        Application binary: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/libSample_Undefined.so
        Android build platform: android-20
        Install to device: No
      Buildfile: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/build.xml
      
      -set-mode-check:
      
      -set-debug-files:
      
      -check-env:
       [checkenv] Android SDK Tools Revision 23.0.5
       [checkenv] Installed at /Users/erik/dev/android/adt-bundle-mac-x86_64-20140702/sdk
      
      -setup:
           [echo] Project Name: QtApp
        [gettype] Project Type: Application
      
      -set-debug-mode:
      
      -debug-obfuscation-check:
      
      -pre-build:
      
      -build-setup:
      [getbuildtools] Using latest Build Tools: 20.0.0
           [echo] Resolving Build Target for QtApp...
      [gettarget] Project Target:   Android 4.4W.2
      [gettarget] API level:        20
           [echo] ----------
           [echo] Creating output directories if needed...
          [mkdir] Created dir: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/bin
          [mkdir] Created dir: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/bin/res
          [mkdir] Created dir: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/bin/rsObj
          [mkdir] Created dir: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/bin/rsLibs
          [mkdir] Created dir: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/gen
          [mkdir] Created dir: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/bin/classes
          [mkdir] Created dir: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/bin/dexedLibs
           [echo] ----------
           [echo] Resolving Dependencies for QtApp...
      [dependency] Library dependencies:
      [dependency] No Libraries
      [dependency] 
      [dependency] ------------------
           [echo] ----------
           [echo] Building Libraries with 'debug'...
         [subant] No sub-builds to iterate on
      
      -code-gen:
      [mergemanifest] Merging AndroidManifest files into one.
      [mergemanifest] Manifest merger disabled. Using project manifest only.
           [echo] Handling aidl files...
           [aidl] Found 2 AIDL files.
           [aidl] Compiling 2 AIDL files.
           [echo] ----------
           [echo] Handling RenderScript files...
           [echo] ----------
           [echo] Handling Resources...
           [aapt] Generating resource IDs...
           [echo] ----------
           [echo] Handling BuildConfig class...
      [buildconfig] Generating BuildConfig class.
      
      -pre-compile:
      
      -compile:
          [javac] Compiling 6 source files to /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/bin/classes
          [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
          [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
          [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
          [javac] Note: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/src/org/qtproject/qt5/android/bindings/QtActivity.java uses or overrides a deprecated API.
          [javac] Note: Recompile with -Xlint:deprecation for details.
          [javac] 3 warnings
      
      -post-compile:
      
      -obfuscate:
      
      -dex:
            [dex] input: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/bin/classes
            [dex] input: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/libs/QtAndroid-bundled.jar
            [dex] input: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/libs/QtAndroidAccessibility-bundled.jar
            [dex] Pre-Dexing /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/libs/QtAndroid-bundled.jar -> QtAndroid-bundled-0df56e2c14fc566489657fdae1fce6f8.jar
             [dx] Unable to find a $JAVA_HOME at "/usr", continuing with system-provided Java...
            [dex] Pre-Dexing /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/libs/QtAndroidAccessibility-bundled.jar -> QtAndroidAccessibility-bundled-8871f7dedd219c79aa8b0f764a648cf4.jar
             [dx] Unable to find a $JAVA_HOME at "/usr", continuing with system-provided Java...
            [dex] Converting compiled files and external libraries into /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/bin/classes.dex...
             [dx] Unable to find a $JAVA_HOME at "/usr", continuing with system-provided Java...
             [dx] Merged dex A (23 defs/41.5KiB) with dex B (38 defs/55.3KiB). Result is 61 defs/112.4KiB. Took 0.1s
             [dx] Merged dex A (61 defs/112.4KiB) with dex B (4 defs/8.5KiB). Result is 65 defs/144.4KiB. Took 0.0s
      
      -crunch:
         [crunch] Crunching PNG Files in source dir: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/res
         [crunch] To destination dir: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/bin/res
         [crunch] Crunched 0 PNG files to update cache
      
      -package-resources:
           [aapt] Creating full resource package...
      
      -package:
      [apkbuilder] Current build type is different than previous build: forced apkbuilder run.
      [apkbuilder] Creating QtApp-debug-unaligned.apk and signing it with a debug key...
      
      -post-package:
      
      -do-debug:
       [zipalign] Running zip align on final apk...
           [echo] Debug Package: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/bin/QtApp-debug.apk
      [propertyfile] Creating new property file: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/bin/build.prop
      [propertyfile] Updating property file: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/bin/build.prop
      [propertyfile] Updating property file: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/bin/build.prop
      [propertyfile] Updating property file: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/bin/build.prop
      
      -post-build:
      
      debug:
      
      BUILD SUCCESSFUL
      Total time: 5 seconds
      Android package built successfully.
        -- File: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build/bin/QtApp-debug
      13:36:02: The process "/Users/erik/dev/android/Qt5.3.2/5.3/android_armv7/bin/androiddeployqt" exited normally.
      13:36:02: Uninstall previous package org.qtproject.example.Sample_Undefined.
      13:36:02: Package deploy: Running command "/Users/erik/dev/android/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/adb -s 0a69258d uninstall org.qtproject.example.Sample_Undefined".
      13:36:03: Starting: "/Users/erik/dev/android/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/adb" -s 0a69258d install -r /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build//bin/QtApp-release-unsigned.apk
      13:36:03: Pulling files necessary for debugging.
      13:36:03: Package deploy: Running command "/Users/erik/dev/android/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/adb -s 0a69258d pull /system/bin/app_process /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/app_process".
      13:36:03: Package deploy: Running command "/Users/erik/dev/android/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/adb -s 0a69258d pull /system/lib/libc.so /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/libc.so".
      Invalid APK file: /Users/erik/dev/tests/build-Sample_Undefined-Android_for_armeabi_v7a_GCC_4_9_Qt_5_3_2-Release/android-build//bin/QtApp-release-unsigned.apk
      13:36:03: The process "/Users/erik/dev/android/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/adb" exited with code 255.
      Error while building/deploying project Sample_Undefined (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.3.2))
      When executing step "Deploy to Android device"
      13:36:03: Elapsed time: 00:09.
      

      Attachments

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            erikv Erik Verbruggen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: