我正在Commercial Qt
新MacOS Sierra
机器上进行全新安装。我正在尝试为android
&构建一个示例 Qt 应用程序iOS
。我可以毫无困难地为 iOS 构建我的 QtApp。
但是在android上我收到以下错误:
Buildfile: build.xml does not exist!
Build failed
Building the android package failed!
-- For more information, run this command with --verbose.
19:47:50: The process "/Users/MyComputer/Qt/5.7/android_armv7/bin/androiddeployqt" exited with code 14.
Error while building/deploying project t1 (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.7.1))
When executing step "Build Android APK"
我ndk r14b
从这里下载了最新的。
这些天我从这里安装了 Android Studio 附带的最新 sdk 。并更新android sdkmanager
为安装所有平台,范围android-19
从android-25
.
我也安装了最新的 JDK 8。我通过从 Android Studio 构建和运行一个运行完美的 android 应用程序来测试 android 设置。
Qt 与 Android 配合得非常好。发生了什么变化?由于 Android 的一些结构变化,我应该做一些调整吗?
复制PathToAndroidStudio/templates
到PathToAndroidSDK/templates
或按照此处和此处PathToAndroidSDK/tools/templates
的建议进行复制似乎还不够。
templates
除了按照其他答案中的建议复制文件夹之外,我还应该做什么?