Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/qt/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法在Mac OS X 10.9下将Qt 5.3快速应用程序部署到AVD_Qt_Osx Mavericks_Avd - Fatal编程技术网

无法在Mac OS X 10.9下将Qt 5.3快速应用程序部署到AVD

无法在Mac OS X 10.9下将Qt 5.3快速应用程序部署到AVD,qt,osx-mavericks,avd,Qt,Osx Mavericks,Avd,我花了很多时间寻找解决方案。我放弃了 我使用Qt5.3进行开发,并构建跨平台解决方案 我的MacBBookPro运行MacOSX10.9.3Mavericks 我的项目在ios模拟器和桌面版本中成功运行。 但我无法将其部署到AVD或真正的Android设备上 以下是日志: Building the android package failed! -- For more information, run this command with --verbose. Generating Andro

我花了很多时间寻找解决方案。我放弃了

我使用Qt5.3进行开发,并构建跨平台解决方案

我的MacBBookPro运行MacOSX10.9.3Mavericks

我的项目在ios模拟器和桌面版本中成功运行。 但我无法将其部署到AVD或真正的Android设备上

以下是日志:

Building the android package failed!
  -- For more information, run this command with --verbose.
Generating Android Package
  Input file: /Users/xxx/build-xxx-Android_for_armeabi_v7a-Debug/android-libxxx.so-deployment-settings.json
  Output directory: /Users/xxx/build-xxx-Android_for_armeabi_v7a-Debug/android-build
  Application binary: /Users/xxx/build-xxx-Android_for_armeabi_v7a-Debug/libxxx.so
  Android build platform: android-19
  Install to device: emulator-5554
19:43:56: The process "/Applications/Qt/5.2.1/android_armv7/bin/androiddeployqt" exited with code 14.
Error while building/deploying project xxx (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.2.1))
When executing step 'Deploy to Android device'
19:43:56: Elapsed time: 02:13.
你有什么想法吗?

解决了

问题是: 我为ant可执行文件设置了不正确的路径。 Qt无法构建android应用程序,当然也无法部署它

现在我可以在设备上运行应用程序,但仍然无法使用emulator运行应用程序


祝你好运。

既然你要部署到一个设备上,你是否在Qt Creator中配置了任何设备?