Deploying android applications Qt 5.1 -
i have been trying deploy simple qt application android no luck. details follows
qt version : qt 5.1.0 android (windows 32-bit) downloaded here
qt creator version : qt creator 2.7.2
i have set following options in qt creator
android configurations
android sdk location : c:\adt-bundle-windows-x86-20130717\adt-bundle-windows-x86-20130717\sdk
android ndk location : c:\android-ndk-r8e
ant location : c:\program files\java\jdk1.7.0_25
avd name : androidavd (api level 17,armeabi-v7a)
kit configuration
name of kit : android arm(gcc 4.4.3,qt 5.1.0)(default)
device type : android
device : run on android
sysroot : empty
compiler : gcc (arm 4.4.3 )
android gdb server : c:\android-ndk-r8e\prebuilt\android-arm\gdbserver
debugger : c:\android-ndk-r8e\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\arm-linux-androideabi-gdb.exe
qt version : 5.1.0 (android_armv7)(c:\qt\qt5.1.0\5.1.0\android_armv7\bin\qmake.exe)
deploy configuration of kit(for both release , debug) : deploy local qt libraries , use local qt libraries option checked
os : windows 7 64 bit
the problem
when try build,everything builds fine. libthetestapp.so in build directory. project directory contains folder named "android" containing manifest file , other files.
when try run app, emulator starts can't find app. if close emulator , return qt creator following error
please wait, searching suitable device target:android-17.
error while building/deploying project thetestapp (kit: android arm (gcc 4.4.3, qt 5.1.0)) when executing step 'deploy android device'
if "adb devices" while emulator running, id of running emulator
also tried searching internet before posting question here. found this link.
my question how deploy qt5 application android device? there links how it? asking because have followed instructions provided in qt5forandroidbuilding link while building app.
thanks time.
i able deploy simple qt application android device. understand ,qt creator first tries deploy app device if finds one. if no device found, tries launch avd , deploys application emulator.
"please wait, searching suitable device target:android-17." try targeting lower api level changing in projects->selected toolkit -> run -> package configuartion -> manifest
and , make sure ant location points installlocation\ant\bin\ant.bat
Comments
Post a Comment