Deploying android applications Qt 5.1 -


i have been trying deploy simple qt application android no luck. details follows

  1. qt version : qt 5.1.0 android (windows 32-bit) downloaded here

  2. qt creator version : qt creator 2.7.2

i have set following options in qt creator

android configurations

  1. android sdk location : c:\adt-bundle-windows-x86-20130717\adt-bundle-windows-x86-20130717\sdk

  2. android ndk location : c:\android-ndk-r8e

  3. ant location : c:\program files\java\jdk1.7.0_25

  4. avd name : androidavd (api level 17,armeabi-v7a)

kit configuration

  1. name of kit : android arm(gcc 4.4.3,qt 5.1.0)(default)

  2. device type : android

  3. device : run on android

  4. sysroot : empty

  5. compiler : gcc (arm 4.4.3 )

  6. android gdb server : c:\android-ndk-r8e\prebuilt\android-arm\gdbserver

  7. debugger : c:\android-ndk-r8e\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\arm-linux-androideabi-gdb.exe

  8. qt version : 5.1.0 (android_armv7)(c:\qt\qt5.1.0\5.1.0\android_armv7\bin\qmake.exe)

  9. deploy configuration of kit(for both release , debug) : deploy local qt libraries , use local qt libraries option checked

  10. 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

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -