Hello, i'm new to Necessitas, i try to develop a mobile QT
application.
I use Necessitas 0.3, i correctly configured the variable environment
(java_home and ant_home).
When i compile i get this: "Can't find read elf information".
Surprisingly the android emulator is started.
Thank's you for the help.
Here, the complete "Compile output"
Running build steps for project untitled...
Starting: "c:\users\galerians\necessitas\android\qt\480\armeabi-v7a\bin
\qmake.exe" C:\Users\Galerians\qt-mobile\untitled\
untitled.pro -r -
spec android-g++ -win32
-win32 is deprecated.
The process "c:\users\galerians\necessitas\android\qt\480\armeabi-v7a
\bin\qmake.exe" exited normally.
Starting: "C:\Users\Galerians\necessitas\QtCreator\bin\make.exe" -w
make: Entering directory `C:/Users/Galerians/qt-mobile/untitled-build--
Necessitas_Qt_4_8_0_for_Android_armv7a_Release'
make: Nothing to be done for `first'.
make: Leaving directory `C:/Users/Galerians/qt-mobile/untitled-build--
Necessitas_Qt_4_8_0_for_Android_armv7a_Release'
The process "C:\Users\Galerians\necessitas\QtCreator\bin\make.exe"
exited normally.
Starting: "C:\Users\Galerians\necessitas\QtCreator\bin\make.exe"
INSTALL_ROOT="C:\Users\Galerians\qt-mobile\untitled\android" install -
w
make: Entering directory `C:/Users/Galerians/qt-mobile/untitled-build--
Necessitas_Qt_4_8_0_for_Android_armv7a_Release'
copy /y "libuntitled.so" "C:\Users\Galerians\qt-mobile\untitled\android
\libs\armeabi-v7a\libuntitled.so"
1 fichier(s) copi‚(s).
make: Leaving directory `C:/Users/Galerians/qt-mobile/untitled-build--
Necessitas_Qt_4_8_0_for_Android_armv7a_Release'
The process "C:\Users\Galerians\necessitas\QtCreator\bin\make.exe"
exited normally.
Can't find ''.
Please make sure your appication built successfully and is selected
in Appplication tab ('Run option')
Copy Qt app & libs to Android package ...
Creating package file ...
Package deploy: Running command 'C:\Users\Galerians\necessitas/apache-
ant-1.8.2/bin/ant.bat clean debug'.
Buildfile: C:\Users\Galerians\qt-mobile\untitled\android\build.xml
clean:
-set-mode-check:
-set-debug-files:
-set-debug-mode:
-debug-obfuscation-check:
-setup:
[echo] Gathering info for QtActivity...
[setup] Android SDK Tools Revision 14
[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: C:\Users\Galerians\qt-mobile\untitled\android
\bin
[mkdir] Created dir: C:\Users\Galerians\qt-mobile\untitled\android
\bin\res
[mkdir] Created dir: C:\Users\Galerians\qt-mobile\untitled\android
\gen
[mkdir] Created dir: C:\Users\Galerians\qt-mobile\untitled\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] C:\Users\Galerians\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 C:\Users\Galerians\qt-mobile
\untitled\android\bin\classes
-post-compile:
-obfuscate:
-dex:
[dex] Converting compiled files and external libraries into C:
\Users\Galerians\qt-mobile\untitled\android\bin\classes.dex...
-crunch:
[crunch] Crunching PNG Files in source dir: C:\Users\Galerians\qt-
mobile\untitled\android\res
[crunch] To destination dir: C:\Users\Galerians\qt-mobile\untitled
\android\bin\res
[crunch] (processed image to cache entry C:\Users\Galerians\qt-
mobile\untitled\android\bin\res\drawable-hdpi\icon.png: 64% size of
source)
[crunch] (processed image to cache entry C:\Users\Galerians\qt-
mobile\untitled\android\bin\res\drawable-ldpi\icon.png: 0% size of
source)
[crunch] (processed image to cache entry C:\Users\Galerians\qt-
mobile\untitled\android\bin\res\drawable-mdpi\icon.png: 0% size of
source)
[crunch] (processed image to cache entry C:\Users\Galerians\qt-
mobile\untitled\android\bin\res\drawable\icon.png: 86% size of source)
[crunch] (processed image to cache entry C:\Users\Galerians\qt-
mobile\untitled\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 QtActivity-debug-unaligned.apk and signing it
with a debug key...
-do-debug:
[zipalign] Running zip align on final apk...
[echo] Debug Package: C:\Users\Galerians\qt-mobile\untitled
\android\bin\QtActivity-debug.apk
debug:
[propertyfile] Creating new property file: C:\Users\Galerians\qt-mobile
\untitled\android\bin\build.prop
[propertyfile] Updating property file: C:\Users\Galerians\qt-mobile
\untitled\android\bin\build.prop
[propertyfile] Updating property file: C:\Users\Galerians\qt-mobile
\untitled\android\bin\build.prop
[propertyfile] Updating property file: C:\Users\Galerians\qt-mobile
\untitled\android\bin\build.prop
BUILD SUCCESSFUL
Total time: 5 seconds
Package created.
Please wait, searching for a suitable device for target:android-7.