Unable to build an Android Qt application -
i've installed qtsdk, android sdk & ndk on new computer. copied project , didn't load .pro.user.
i downloaded api10 sdk, set in qt creator. app compiles apk creation fails. following log:
-build-setup: [getbuildtools] using latest build tools: 22.0.1 [echo] resolving build target qtapp... [gettarget] project target: android 2.3.3 [gettarget] api level: 10 [echo] ---------- [echo] creating output directories if needed... [mkdir] created dir: /home/marcin/proj/touchcatch/build-touchcatch-android_for_armeabi_v7a_gcc_4_9_qt_5_5_0-debug/android-build/bin [mkdir] created dir: /home/marcin/proj/touchcatch/build-touchcatch-android_for_armeabi_v7a_gcc_4_9_qt_5_5_0-debug/android-build/bin/res [mkdir] created dir: /home/marcin/proj/touchcatch/build-touchcatch-android_for_armeabi_v7a_gcc_4_9_qt_5_5_0-debug/android-build/bin/rsobj [mkdir] created dir: /home/marcin/proj/touchcatch/build-touchcatch-android_for_armeabi_v7a_gcc_4_9_qt_5_5_0-debug/android-build/bin/rslibs [mkdir] created dir: /home/marcin/proj/touchcatch/build-touchcatch-android_for_armeabi_v7a_gcc_4_9_qt_5_5_0-debug/android-build/gen [mkdir] created dir: /home/marcin/proj/touchcatch/build-touchcatch-android_for_armeabi_v7a_gcc_4_9_qt_5_5_0-debug/android-build/bin/classes [mkdir] created dir: /home/marcin/proj/touchcatch/build-touchcatch-android_for_armeabi_v7a_gcc_4_9_qt_5_5_0-debug/android-build/bin/dexedlibs [echo] ---------- [echo] resolving dependencies qtapp... [dependency] library dependencies: [dependency] no libraries [dependency] [dependency] ------------------ [dependency] api<=15: adding annotations.jar classpath. [echo] ---------- [echo] building libraries 'debug'... [subant] no sub-builds iterate on -code-gen: [mergemanifest] merging androidmanifest files one. [mergemanifest] manifest merger disabled. using project manifest only. [echo] handling aidl files... [aidl] found 2 aidl files. [aidl] compiling 2 aidl files. [echo] ---------- [echo] handling renderscript files... [echo] ---------- [echo] handling resources... [aapt] generating resource ids... [aapt] /home/marcin/proj/touchcatch/build-touchcatch-android_for_armeabi_v7a_gcc_4_9_qt_5_5_0-debug/android-build/bin/androidmanifest.xml:3: error: no resource identifier found attribute 'hardwareaccelerated' in package 'android' [aapt] [aapt] /home/marcin/proj/touchcatch/build-touchcatch-android_for_armeabi_v7a_gcc_4_9_qt_5_5_0-debug/android-build/bin/androidmanifest.xml:4: error: error: string types not allowed (at 'configchanges' value 'orientation|uimode|screenlayout|screensize|smallestscreensize|locale|fontscale|keyboard|keyboardhidden|navigation'). [aapt] build failed /home/marcin/devel/android-sdk-linux/tools/ant/build.xml:649: following error occurred while executing line: /home/marcin/devel/android-sdk-linux/tools/ant/build.xml:694: null returned: 1 total time: 0 seconds building android package failed! -- more information, run command --verbose. 13:14:10: process "/home/marcin/devel/qt5.5.0/5.5/android_armv7/bin/androiddeployqt" exited code 14. error while building/deploying project touchcatch (kit: android armeabi-v7a (gcc 4.9, qt 5.5.0))
how can fix it? can't use newer api since device have (gt-s6500d) has android 2.3.6
Comments
Post a Comment