Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to deploy android build from qt 5.4 in macbook pro
ingenioussofttech last edited by
I had install qt 5.4 in my macbook pro using below link.
i had configure all path of android jdk location, android sdk location, android ndk location and all path are correct.
when i try to make build of any project( even try with android sample project given by qt) from qt creator. So after some time of build generation at last it give me this error.
-- For more information, run this command with --verbose.
17:11:13: The process "/Volumes/Kavita/Qt5.4.0/5.4/android_x86/bin/androiddeployqt" exited with code 14.
Error while building/deploying project application (kit: Android for x86 (GCC 4.9, Qt 5.4.0))
When executing step "Build Android APK"
- when i cant generate apk file from qt using above method. so i try to open gradle project in my android studio which gradle project folder generate by qt creator at the time of generating android build.
so that gradle project also not run from android studio also.
Can any body help me to solve above 2 issue who already face this type of issue in their mac and they already solved this issue.
serngawy last edited by
I fix this issue by changing the androidBuildToolsVersion in the gradle.properties and android-libYourApp.so-deployment-settings.json files under your App build directory. In my case it was
(androidBuildToolsVersion=android4.4w) in gradle.properties file and (sdkBuildToolsRevision": "android4.4w") in android-libYourApp.so-deployment-settings.json, I changed to (androidBuildToolsVersion=21.1.2) and ("sdkBuildToolsRevision": "21.1.2")