<font size=2 face="sans-serif">hello,</font>
<br>
<br><font size=2 face="sans-serif">I experience some difficulties on windows
trying to deploy a simple Qt Gui app to the emulator.</font>
<br><font size=2 face="sans-serif">it looks like that apk file creation
failes. at least on disk I cannot find any apk files. a "Hopp.ap_"
file is there though.</font>
<br>
<br><font size=2 face="sans-serif">any ideas?</font>
<br>
<br><font size=2 face="sans-serif">thx and cheers</font>
<br><font size=2 face="sans-serif">alex</font>
<br>
<br><font size=2 face="sans-serif"><br>
</font><font size=3 color=#0000a1>13:10:00: Running steps for project hopp...</font>
<br><font size=3 color=#0000a1>13:10:02: Configuration unchanged, skipping
qmake step.</font>
<br><font size=3 color=#0000a1>13:10:02: Starting: "D:\tools\necessitas\QtCreator\bin\ma-make.exe"
-w</font>
<br><font size=3>ma-make: Entering directory `C:/projects/android/hopp-build-880481-Debug'</font>
<br><font size=3>D:\tools\necessitas\Android\Qt\482\armeabi-v7a\bin\uic.exe
..\hopp\mainwindow.ui -o ui_mainwindow.h</font>
<br><font size=3>D:/tools/necessitas/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-g++
-c -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fpic -ffunction-sections
-funwind-tables -fstack-protector -fno-short-enums -DANDROID -Wa,--noexecstack
-DQT_NO_QWS_TRANSFORMED -g -g -marm -O0 -fno-omit-frame-pointer -Wall -Wno-psabi
-W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\mkspecs\android-g++
-I..\hopp -ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include\QtCore
-ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include\QtGui -ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include
-ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include -ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include\QtMobility
-I. -I. -I. -I..\hopp -ID:\tools\necessitas\android-ndk\sources\cxx-stl\gnu-libstdc++\4.4.3\include
-ID:\tools\necessitas\android-ndk\sources\cxx-stl\gnu-libstdc++\4.4.3\libs\armeabi-v7a\include
-ID:\tools\necessitas\android-ndk\platforms\android-9\arch-arm\usr\include
-I. -o main.o ..\hopp\main.cpp</font>
<br><font size=3>D:/tools/necessitas/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-g++
-c -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fpic -ffunction-sections
-funwind-tables -fstack-protector -fno-short-enums -DANDROID -Wa,--noexecstack
-DQT_NO_QWS_TRANSFORMED -g -g -marm -O0 -fno-omit-frame-pointer -Wall -Wno-psabi
-W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\mkspecs\android-g++
-I..\hopp -ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include\QtCore
-ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include\QtGui -ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include
-ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include -ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include\QtMobility
-I. -I. -I. -I..\hopp -ID:\tools\necessitas\android-ndk\sources\cxx-stl\gnu-libstdc++\4.4.3\include
-ID:\tools\necessitas\android-ndk\sources\cxx-stl\gnu-libstdc++\4.4.3\libs\armeabi-v7a\include
-ID:\tools\necessitas\android-ndk\platforms\android-9\arch-arm\usr\include
-I. -o mainwindow.o ..\hopp\mainwindow.cpp</font>
<br><font size=3>D:\tools\necessitas\Android\Qt\482\armeabi-v7a\bin\moc.exe
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\mkspecs\android-g++
-I..\hopp -ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include\QtCore
-ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include\QtGui -ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include
-ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include -ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include\QtMobility
-I. -I. -I. -I..\hopp -ID:\tools\necessitas\android-ndk\sources\cxx-stl\gnu-libstdc++\4.4.3\include
-ID:\tools\necessitas\android-ndk\sources\cxx-stl\gnu-libstdc++\4.4.3\libs\armeabi-v7a\include
-ID:\tools\necessitas\android-ndk\platforms\android-9\arch-arm\usr\include
-I. ..\hopp\mainwindow.h -o moc_mainwindow.cpp</font>
<br><font size=3>D:/tools/necessitas/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-g++
-c -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fpic -ffunction-sections
-funwind-tables -fstack-protector -fno-short-enums -DANDROID -Wa,--noexecstack
-DQT_NO_QWS_TRANSFORMED -g -g -marm -O0 -fno-omit-frame-pointer -Wall -Wno-psabi
-W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\mkspecs\android-g++
-I..\hopp -ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include\QtCore
-ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include\QtGui -ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include
-ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include -ID:\tools\necessitas\Android\Qt\482\armeabi-v7a\include\QtMobility
-I. -I. -I. -I..\hopp -ID:\tools\necessitas\android-ndk\sources\cxx-stl\gnu-libstdc++\4.4.3\include
-ID:\tools\necessitas\android-ndk\sources\cxx-stl\gnu-libstdc++\4.4.3\libs\armeabi-v7a\include
-ID:\tools\necessitas\android-ndk\platforms\android-9\arch-arm\usr\include
-I. -o moc_mainwindow.o moc_mainwindow.cpp</font>
<br><font size=3>D:/tools/necessitas/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-g++
--sysroot=D:/tools/necessitas/android-ndk/platforms/android-9/arch-arm
-Wl,-rpath-link=D:/tools/necessitas/android-ndk/platforms/android-9/arch-arm/usr/lib
-Wl,--no-undefined -Wl,-z,noexecstack -shared -Wl,-soname,libhopp.so -Wl,-rpath=C:/tmp/necessitas/unstable/Android/Qt/482/build-armeabi-v7a/install/lib
-Wl,-rpath=D:/tools/necessitas/Android/Qt/482/armeabi-v7a/lib -o libhopp.so
main.o mainwindow.o moc_mainwindow.o -LD:/tools/necessitas/android-ndk/platforms/android-9/arch-arm/usr/lib
-LD:/tools/necessitas/Android/Qt/482/armeabi-v7a/lib -LD:/tools/necessitas/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.4.3
-lgcc -LD:\tools\necessitas\Android\Qt\482\armeabi-v7a/lib -lQtGui -L/tmp/necessitas/android-ndk/platforms/android-5/arch-arm/usr/lib
-lQtCore -llog -lz -lm -ldl -lc</font>
<br><font size=3>ma-make: Leaving directory `C:/projects/android/hopp-build-880481-Debug'</font>
<br><font size=3 color=#0000a1>13:10:33: The process "D:\tools\necessitas\QtCreator\bin\ma-make.exe"
exited normally.</font>
<br><font size=3 color=#0000a1>13:10:33: Starting: "D:\tools\necessitas\QtCreator\bin\ma-make.exe"
INSTALL_ROOT="C:\projects\android\hopp\android" install -w</font>
<br><font size=3>ma-make: Entering directory `C:/projects/android/hopp-build-880481-Debug'</font>
<br><font size=3>copy /y "libhopp.so" "C:\projects\android\hopp\android\libs\armeabi-v7a\libhopp.so"</font>
<br><font size=3>1 file(s) copied.</font>
<br><font size=3>ma-make: Leaving directory `C:/projects/android/hopp-build-880481-Debug'</font>
<br><font size=3 color=#0000a1>13:10:33: The process "D:\tools\necessitas\QtCreator\bin\ma-make.exe"
exited normally.</font>
<br><font size=3 color=#0000a1>13:10:33: Copy Qt app & libs to Android
package ...</font>
<br><font size=3 color=#0000a1>13:10:34: Creating package file ...</font>
<br><font size=3 color=#0000a1>13:10:34: Package deploy: Running command
'D:\tools\necessitas/apache-ant-1.8.4/bin/ant.bat clean debug'.</font>
<br><font size=3>Buildfile: C:\projects\android\hopp\android\build.xml</font>
<br>
<br><font size=3>-check-env:</font>
<br><font size=3>[checkenv] Android SDK Tools Revision 21</font>
<br><font size=3>[checkenv] Installed at D:\tools\necessitas\android-sdk</font>
<br>
<br><font size=3>-setup:</font>
<br><font size=3>[echo] Project Name: Hopp</font>
<br><font size=3>[gettype] Project Type: Application</font>
<br>
<br><font size=3>-pre-clean:</font>
<br>
<br><font size=3>clean:</font>
<br><font size=3>[getlibpath] Library dependencies:</font>
<br><font size=3>[getlibpath] No Libraries</font>
<br><font size=3>[subant] No sub-builds to iterate on</font>
<br>
<br><font size=3>-set-mode-check:</font>
<br>
<br><font size=3>-set-debug-files:</font>
<br>
<br><font size=3>-check-env:</font>
<br><font size=3>[checkenv] Android SDK Tools Revision 21</font>
<br><font size=3>[checkenv] Installed at D:\tools\necessitas\android-sdk</font>
<br>
<br><font size=3>-setup:</font>
<br><font size=3>[echo] Project Name: Hopp</font>
<br><font size=3>[gettype] Project Type: Application</font>
<br>
<br><font size=3>-set-debug-mode:</font>
<br>
<br><font size=3>-debug-obfuscation-check:</font>
<br>
<br><font size=3>-build-setup:</font>
<br><font size=3>[echo] Resolving Build Target for Hopp...</font>
<br><font size=3>[gettarget] Project Target: Android 3.2</font>
<br><font size=3>[gettarget] API level: 13</font>
<br><font size=3>[gettarget] WARNING: No minSdkVersion value set. Application
will install on all Android versions.</font>
<br><font size=3>[echo] ----------</font>
<br><font size=3>[echo] Creating output directories if needed...</font>
<br><font size=3>[mkdir] Created dir: C:\projects\android\hopp\android\bin</font>
<br><font size=3>[mkdir] Created dir: C:\projects\android\hopp\android\bin\res</font>
<br><font size=3>[mkdir] Created dir: C:\projects\android\hopp\android\gen</font>
<br><font size=3>[mkdir] Created dir: C:\projects\android\hopp\android\bin\classes</font>
<br><font size=3>[mkdir] Created dir: C:\projects\android\hopp\android\bin\dexedLibs</font>
<br><font size=3>[echo] ----------</font>
<br><font size=3>[echo] Resolving Dependencies for Hopp...</font>
<br><font size=3>[dependency] Ordered libraries:</font>
<br><font size=3>[dependency] </font>
<br><font size=3>[dependency] ------------------</font>
<br><font size=3>[dependency] API<=15: Adding annotations.jar to the
classpath.</font>
<br><font size=3>[echo] ----------</font>
<br><font size=3>[echo] Building Libraries with 'debug'...</font>
<br><font size=3>[subant] No sub-builds to iterate on</font>
<br>
<br><font size=3>-pre-build:</font>
<br>
<br><font size=3>-code-gen:</font>
<br><font size=3>[mergemanifest] Merging AndroidManifest files into one.</font>
<br><font size=3>[mergemanifest] Manifest merger disabled. Using project
manifest only.</font>
<br><font size=3>[echo] Handling aidl files...</font>
<br><font size=3>[aidl] Found 2 AIDL files.</font>
<br><font size=3>[aidl] Compiling 2 AIDL files.</font>
<br><font size=3>[echo] ----------</font>
<br><font size=3>[echo] Handling RenderScript files...</font>
<br><font size=3>[renderscript] No RenderScript files to compile.</font>
<br><font size=3>[echo] ----------</font>
<br><font size=3>[echo] Handling Resources...</font>
<br><font size=3>[aapt] Generating resource IDs...</font>
<br><font size=3>[echo] ----------</font>
<br><font size=3>[echo] Handling BuildConfig class...</font>
<br><font size=3>[buildconfig] Generating BuildConfig class.</font>
<br>
<br><font size=3>-pre-compile:</font>
<br>
<br><font size=3>-compile:</font>
<br><font size=3>[javac] Compiling 6 source files to C:\projects\android\hopp\android\bin\classes</font>
<br>
<br><font size=3>-post-compile:</font>
<br>
<br><font size=3>-obfuscate:</font>
<br>
<br><font size=3>-dex:</font>
<br><font size=3>[dex] input: C:\projects\android\hopp\android\bin\classes</font>
<br><font size=3>[dex] input: D:\tools\necessitas\android-sdk\tools\support\annotations.jar</font>
<br><font size=3>[dex] Pre-Dexing D:\tools\necessitas\android-sdk\tools\support\annotations.jar
-> annotations-996428e60ba2dcdf4738ec192bd96701.jar</font>
<br><font size=3>[dex] Converting compiled files and external libraries
into C:\projects\android\hopp\android\bin\classes.dex...</font>
<br><font size=3>[dx] Merged dex A (24 defs/36.2KiB) with dex B (2 defs/1.1KiB).
Result is 26 defs/43.3KiB. Took 0.1s</font>
<br>
<br><font size=3>-crunch:</font>
<br><font size=3>[crunch] Crunching PNG Files in source dir: C:\projects\android\hopp\android\res</font>
<br><font size=3>[crunch] To destination dir: C:\projects\android\hopp\android\bin\res</font>
<br><font size=3>[crunch] Processing image to cache: C:\projects\android\hopp\android\res\drawable-hdpi\icon.png
=> C:\projects\android\hopp\android\bin\res\drawable-hdpi\icon.png</font>
<br><font size=3>[crunch] (processed image to cache entry C:\projects\android\hopp\android\bin\res\drawable-hdpi\icon.png:
64% size of source)</font>
<br><font size=3>[crunch] Processing image to cache: C:\projects\android\hopp\android\res\drawable-ldpi\icon.png
=> C:\projects\android\hopp\android\bin\res\drawable-ldpi\icon.png</font>
<br><font size=3>[crunch] (processed image to cache entry C:\projects\android\hopp\android\bin\res\drawable-ldpi\icon.png:
0% size of source)</font>
<br><font size=3>[crunch] Processing image to cache: C:\projects\android\hopp\android\res\drawable-mdpi\icon.png
=> C:\projects\android\hopp\android\bin\res\drawable-mdpi\icon.png</font>
<br><font size=3>[crunch] (processed image to cache entry C:\projects\android\hopp\android\bin\res\drawable-mdpi\icon.png:
0% size of source)</font>
<br><font size=3>[crunch] Processing image to cache: C:\projects\android\hopp\android\res\drawable\icon.png
=> C:\projects\android\hopp\android\bin\res\drawable\icon.png</font>
<br><font size=3>[crunch] (processed image to cache entry C:\projects\android\hopp\android\bin\res\drawable\icon.png:
86% size of source)</font>
<br><font size=3>[crunch] Processing image to cache: C:\projects\android\hopp\android\res\drawable\logo.png
=> C:\projects\android\hopp\android\bin\res\drawable\logo.png</font>
<br><font size=3>[crunch] (processed image to cache entry C:\projects\android\hopp\android\bin\res\drawable\logo.png:
91% size of source)</font>
<br><font size=3>[crunch] Crunched 5 PNG files to update cache</font>
<br>
<br><font size=3>-package-resources:</font>
<br><font size=3>[aapt] Creating full resource package...</font>
<br>
<br><font size=3>-package:</font>
<br><font size=3>[apkbuilder] Current build type is different than previous
build: forced apkbuilder run.</font>
<br><font size=3>[apkbuilder] Creating Hopp-debug-unaligned.apk and signing
it with a debug key...</font>
<br><font size=3 color=#0000a1>13:10:46: Package created.</font>
<br><font size=3 color=#0000a1>13:10:46: Installing package onto emulator-5554.</font>
<br><font size=3 color=#0000a1>13:10:46: Package deploy: Running command
'D:\tools\necessitas/android-sdk/platform-tools/adb.exe -s emulator-5554
uninstall org.kde.necessitas.example.hopp'.</font>
<br>
<br><font size=3 color=#0000a1>13:10:48: Package deploy: Running command
'D:\tools\necessitas/android-sdk/platform-tools/adb.exe -s emulator-5554
install C:/projects/android/hopp/android/bin/Hopp-debug.apk'.</font>
<br><font size=3 color=#a00000>can't find 'C:/projects/android/hopp/android/bin/Hopp-debug.apk'
to install</font>
<br>
<br><font size=3 color=#a00000>13:10:48: Packaging Error: Command 'D:\tools\necessitas/android-sdk/platform-tools/adb.exe
-s emulator-5554 install C:/projects/android/hopp/android/bin/Hopp-debug.apk'
failed.Exit code: 1</font>
<br><font size=3 color=#a00000>Error while building/deploying project hopp
(target: Necessitas Qt 4.8.2 for Android armv7a)</font>
<br><font size=3 color=#a00000>When executing step 'Deploy to Android device'</font>