Qt for Android runtime error error:target ID ' android--1 ' is not valid

Source: Internet
Author: User

[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
  • Image: Qq20150412000332.png

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.