-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
Qt Creator 4.5.0, Qt Creator 4.6.1
-
Arch Linux
macOS 10.13 host
I'm trying to build the project which includes an external library (that's why subdirs template is used). On Linux platform all is OK, but when I try to build Android APK the following error is occured:
No application .pro file found, not building an APK.
After googling the issue, I had found two possible reasons of the problem:
1. There is no *.pro file by the expected path.
2. There is no *.json file by the expected path.
Then I tried to manually run the androiddeployqt command (the make command finished normally, and the android-build folder already exists):
/opt/Qt/5.10.1/android_armv7/bin/androiddeployqt --input ./myproject/android-libmyproject.so-deployment-settings.json --output android-build --deployment bundled --android-platform android-25 --jdk /usr/lib/jvm/java-8-openjdk --gradle
The build was completed successfully and the external library was bundled into the APK.