我正在尝试使用QT来开发Android应用程序。我使用的是Ubuntu 17.10,我的工具包是
我能够构建示例代码,但尝试部署我得到以粗体
标记的以下错误Generating Android Package
Input file: /home/prajosh/Project/cpp_study/test_1/build-test_1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_1-Debug/android-libtest_1.so-deployment-settings.json
Output directory: /home/prajosh/Project/cpp_study/test_1/build-test_1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_1-Debug/android-build/
Application binary: /home/prajosh/Project/cpp_study/test_1/build-test_1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_1-Debug/libtest_1.so
Android build platform: android-27
**Install to device: No
Cannot find template directory /home/prajosh/Android/Sdk/tools/templates/gradle/wrapper
20:27:26: The process "/home/prajosh/Android/Qt5.7.1/5.7/android_armv7/bin/androiddeployqt" exited with code 3.
Error while building/deploying project test_1 (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.7.1))
When executing step "Build Android APK"**
20:27:26: Elapsed time: 00:00.
尝试安装gradle但是给我一个错误
**java: symbol lookup error: /usr/lib/jni/libnative-platform-curses.so: undefined symbol: tgetent**
搜索后无法获得正确的解决方案。请问有谁,请指出我的错误?