[Question]windows7 under Qt for Android runtime error error:target ID ' android--1 ' is not valid[copy link] |
Previous topic Next Topic |
offline Yijunziran Novice on the road
- Add attention
- Send Message
|
only see the landlord in reverse reading landlord posted: 2015-04-11
The program is correct inRun OK in the window environment Android simulator can run up.
This happens when you run on Android
22:19:48: Process "D:\Qt\Qt5.4.1\Tools\mingw491_32\bin\mingw32-make.exe" exits normally. 22:19:48:starting: "D:\Qt\Qt5.4.1\5.4\android_armv7\bin\androiddeployqt.exe"--input d:/qt5/qml/qtquickbook/ build-touchevent-android_for_armeabi_v7a_gcc_4_8_qt_5_4_1-release/ Android-libtouchevent.so-deployment-settings.json--output D:/qt5/qml/qtquickbook/build-touchevent-android_for_ Armeabi_v7a_gcc_4_8_qt_5_4_1-release/android-build--deployment bundled--android-platform android--1--jdk "D:/ Program files/java/jdk1.7.0_45 "--ant D:/qt5/apache-ant-1.9.4/bin/ant.bat Error:target ID ' android--1 ' isNot valid. Use ' android.bat list targets ' to get the target IDs. Generating Android Package Input file:d:/qt5/qml/qtquickbook/build-touchevent-android_for_armeabi_v7a_gcc_4_8_qt_5_4_1-release/ Android-libtouchevent.so-deployment-settings.json Output directory:d:/qt5/qml/qtquickbook/build-touchevent-android_for_armeabi_v7a_gcc_4_8_qt_5_4_1-release/ android-build/ Application binary:d:/qt5/qml/qtquickbook/build-touchevent-android_for_armeabi_v7a_gcc_4_8_qt_5_4_1-release/ Libtouchevent.so Android Build Platform:android--1 Install to Device:no Buildfile:build.xml does not exist! Build failed Warning:android platform ' android--1 ' does not exist inSdk. Building the Android Package failed! --For more information, run the command with--verbose. 22:19:58: Process "D:\Qt\Qt5.4.1\5.4\android_armv7\bin\androiddeployqt.exe" exits, exit code 14. Error while Building/deploying project TouchEvent (kit:android for armeabi-v7a (GCC 4.8, Qt 5.4.1)) When executing step "Build Android APK" 22:19:58:elapsed time:00:13.
|
Reply to report |
|
Share to the Tao Lake Sina QQ microblogging QQ space Happy everyone douban easy Weibo Baidu Fresh Fruit white Society fetion |
offline fcwr2010 Novice on the road
- Add attention
- Send Message
|
just look at the author 1 floor Posted in: 2015-04-11 You should be not set up Android SDK, see figure |
Reply to report |
offline Xiaoxiangyu Novice on the road
- Add attention
- Send Message
|
just look at the author 2 floor Posted in: 2016-02-17 Thank you!!! |
Reply |
Qt for Android runtime error error:target ID ' android--1 ' is not valid