Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Building APK always tries to use build-tools 28.0.3 #84

Open
peper03 opened this issue Dec 23, 2020 · 1 comment
Open

Building APK always tries to use build-tools 28.0.3 #84

peper03 opened this issue Dec 23, 2020 · 1 comment

Comments

@peper03
Copy link
Contributor

peper03 commented Dec 23, 2020

In a clean environment with build-tools 29.0.2, building the APK always tries to pull in build-tools 28.0.3.
With the Docker container as currently checked in, this is very noticeable as the build fails due to insufficient permissions. In a "normal" environment, this would probably pass unnoticed unless someone was checking the logs the first time the build ran.

The dependency appears to be coming from qtbase/src/android/templates/build.gradle in qt-everywhere-src-5.14.1.

If always using 28.0.3 with different SDKs is OK, the Android readme should perhaps be updated (it currently recommends installing 29.0.2).
If the build-tools version needs to match the SDK used, possibly the version in build.gradle needs to be patched in makelibs.sh

@bennettpeter
Copy link
Member

bennettpeter commented Aug 29, 2022

I have 28.0.3 as well as 29.0.2 installed. I am not sure how that came about. I have not had a problem building so I assume that building part of the library with 28.0.3 and part with 29.0.2 is OK. Perhaps for now we should recommend installing both.

Actually, I notice we are using QT 5.15.3 now so maybe it is not longer an issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants