| 
UID:127510
注册时间2012-02-14最后登录2023-06-29在线时间34小时
发帖22搜Ta的帖子精华0
金钱230威望32贡献值0好评度22
访问TA的空间加好友用道具
     | 
 
程序是正确的,在Window环境下运行OKAndroid模拟器能跑起来。在Android上运行时出现这种情况
 
 22:19:48: 进程"D:\Qt\Qt5.4.1\Tools\mingw491_32\bin\mingw32-make.exe"正常退出。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.batError: Target id 'android--1' is not 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: NoBuildfile: build.xml does not exist!Build failedWarning: Android platform 'android--1' does not exist in SDK.Building the android package failed!  -- For more information, run this command with --verbose.22:19:58: 进程"D:\Qt\Qt5.4.1\5.4\android_armv7\bin\androiddeployqt.exe"退出,退出代码 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.
   |