Qt 5.7 on Android error failed to find Build Tools revision 24.0.1
I faced the below problem and was trying to figure out what is going on for a few hours, then I checked an older Qt project and found out that the androidBuildToolsVersion was different.
I was facing this error
"
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android-build'.
> failed to find Build Tools revision 24.0.1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 3.393 secs
Building the android package failed!
-- For more information, run this command with --verbose.
19:34:05: The process "/Users/myuser/Qt5.7.0/5.7/android_armv7/bin/androiddeployqt" exited with code 14.
Error while building/deploying project 123414565 (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.7.0))
When executing step "Build Android APK"
19:34:05: Elapsed time: 00:06.
"
How I fixed it?
in the file gradle.properties, I replaced
androidBuildToolsVersion=24.0.1
with
androidBuildToolsVersion=23.0.2
Comments
Post a Comment