Running build steps for project test_helloworld...
Starting: "f:\qt\necessitas\android\qt\480\armeabi-v7a\bin\qmake.exe" F:\qt_practice\qt_android\test4_helloworld\test_helloworld\test_helloworld.pro -r -spec android-g++ -win32
-win32 is deprecated.
The process "f:\qt\necessitas\android\qt\480\armeabi-v7a\bin\qmake.exe" exited normally.
Starting: "F:\Qt\necessitas\QtCreator\bin\ma-make.exe" -w
ma-make: Entering directory `F:/qt_practice/qt_android/test4_helloworld/test_helloworld-build--Necessitas_Qt_4_8_0_for_Android_armv7a_Release'
ma-make: Nothing to be done for `first'.
ma-make: Leaving directory `F:/qt_practice/qt_android/test4_helloworld/test_helloworld-build--Necessitas_Qt_4_8_0_for_Android_armv7a_Release'
The process "F:\Qt\necessitas\QtCreator\bin\ma-make.exe" exited normally.
Starting: "F:\Qt\necessitas\QtCreator\bin\ma-make.exe" INSTALL_ROOT="F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android" install -w
ma-make: Entering directory `F:/qt_practice/qt_android/test4_helloworld/test_helloworld-build--Necessitas_Qt_4_8_0_for_Android_armv7a_Release'
copy /y "libtest_helloworld.so" "F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\libs\armeabi-v7a\libtest_helloworld.so"
已复制 1 个文件。
F:/Qt/necessitas/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-strip "F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\libs\armeabi-v7a\libtest_helloworld.so"
ma-make: Leaving directory `F:/qt_practice/qt_android/test4_helloworld/test_helloworld-build--Necessitas_Qt_4_8_0_for_Android_armv7a_Release'
The process "F:\Qt\necessitas\QtCreator\bin\ma-make.exe" exited normally.
Copy Qt app & libs to Android package ...
Creating package file ...
Package deploy: Running command 'F:\Qt\necessitas/apache-ant-1.8.2/bin/ant.bat clean debug'.
Buildfile: F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\build.xml
clean:
-set-mode-check:
-set-debug-files:
-set-debug-mode:
-debug-obfuscation-check:
-setup:
[echo] Gathering info for Test_helloworld...
[setup] Android SDK Tools Revision 15
[setup] Project Target: Android 2.1
[setup] API level: 7
[setup]
[setup] ------------------
[setup] Resolving library dependencies:
[setup] No library dependencies.
[setup]
[setup] ------------------
[setup]
[setup] WARNING: No minSdkVersion value set. Application will install on all Android versions.
-build-setup:
[echo] Creating output directories if needed...
[mkdir] Created dir: F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\bin
[mkdir] Created dir: F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\bin\res
[mkdir] Created dir: F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\gen
[mkdir] Created dir: F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\bin\classes
-pre-build:
-code-gen:
[echo] ----------
[echo] Handling aidl files...
[aidl] Found 2 aidl files.
[aidl] Compiling 2 aidl files.
[echo] ----------
[echo] Handling RenderScript files...
[renderscript] No renderscript files to compile.
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
-pre-compile:
-compile:
[javac] F:\Qt\necessitas\android-sdk\tools\ant\build.xml:600: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 5 source files to F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\bin\classes
-post-compile:
-obfuscate:
-dex:
[dex] Converting compiled files and external libraries into F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\bin\classes.dex...
-crunch:
[crunch] Crunching PNG Files in source dir: F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\res
[crunch] To destination dir: F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\bin\res
[crunch] Processing image to cache: F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\res\drawable-hdpi\icon.png => F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\bin\res\drawable-hdpi\icon.png
[crunch] (processed image to cache entry F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\bin\res\drawable-hdpi\icon.png: 64% size of source)
[crunch] Processing image to cache: F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\res\drawable-ldpi\icon.png => F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\bin\res\drawable-ldpi\icon.png
[crunch] (processed image to cache entry F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\bin\res\drawable-ldpi\icon.png: 0% size of source)
[crunch] Processing image to cache: F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\res\drawable-mdpi\icon.png => F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\bin\res\drawable-mdpi\icon.png
[crunch] (processed image to cache entry F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\bin\res\drawable-mdpi\icon.png: 0% size of source)
[crunch] Processing image to cache: F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\res\drawable\icon.png => F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\bin\res\drawable\icon.png
[crunch] (processed image to cache entry F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\bin\res\drawable\icon.png: 86% size of source)
[crunch] Processing image to cache: F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\res\drawable\logo.png => F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\bin\res\drawable\logo.png
[crunch] (processed image to cache entry F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\bin\res\drawable\logo.png: 91% size of source)
[crunch] Crunched 5 PNG files to update cache
-package-resources:
[aapt] Creating full resource package...
-package:
[apkbuilder] Creating Test_helloworld-debug-unaligned.apk and signing it with a debug key...
-do-debug:
[zipalign] Running zip align on final apk...
Package created.
Please wait, searching for a suitable device for target:android-7.
Installing package onto emulator-5554.
Package deploy: Running command 'F:\Qt\necessitas/android-sdk/platform-tools/adb.exe -s emulator-5554 uninstall org.kde.necessitas.example.test_helloworld'.
Error: Could not access the Package Manager. Is the system running?
Package deploy: Running command 'F:\Qt\necessitas/android-sdk/platform-tools/adb.exe -s emulator-5554 install F:/qt_practice/qt_android/test4_helloworld/test_helloworld/android/bin/Test_helloworld-debug.apk'.
pkg: /data/local/tmp/Test_helloworld-debug.apk
Failure [INSTALL_FAILED_INVALID_APK]
742 KB/s (594192 bytes in 0.781s)
Pulling files necessary for debugging
Package deploy: Running command 'F:\Qt\necessitas/android-sdk/platform-tools/adb.exe -s emulator-5554 pull /system/bin/app_process F:/qt_practice/qt_android/test4_helloworld/test_helloworld-build--Necessitas_Qt_4_8_0_for_Android_armv7a_Release/app_process'.
Package deploy: Running command 'F:\Qt\necessitas/android-sdk/platform-tools/adb.exe -s emulator-5554 pull /system/lib/libc.so F:/qt_practice/qt_android/test4_helloworld/test_helloworld-build--Necessitas_Qt_4_8_0_for_Android_armv7a_Release/libc.so'.