Repository navigation
preinstalled packages cleanup - #55
Conversation
|
I'm wondering about the reason for aggressively cleaning up these older build tools versions. I have an app that uses version This is an annoyance, as I'll need to either bump the app's build tools version whenever this cleanup is done, or add a line to my workflow to ensure the version I use is installed. I can understanding wanting to remove very old build tools version, but I feel like using |
|
@julo15 : first of all sorry for the inconvenience, we don't plan to do this kind of cleanup often. Actually this was the first time we removed a package (other than when a package disappeared from the available android packages list) since the start of our new Docker based Linux infra (a bit more than a year ago).
Reason (from https://developer.android.com/studio/releases/build-tools.html):
We'll release a new step today which will be able to auto detect which basic android packages your project requires and auto install them, including the build tools version package, that should make this process easier in the future. But again, we don't plan to remove old packages in the near future, and we'll definitely prepare for this better the next time. Again, sorry for the inconvenience and let us know if we can help with anything! Happy Building! :) |
|
@viktorbenei Sweet, having a step to detect those things sounds really great. Is this a separate step we would need to add or something that will run automatically with the common Android bitrise setup? And I agree with keeping build tools up to date - I was more worried about the problem of needing to frequently deal with Bitrise build failures due to this. But it sounds like that won't be the case :). Thanks for the explanation and follow up! |
It definitely won't be - although I can't guarantee it, due to various constraints, but I wouldn't be surprised if the next build tools cleanup would be next year ;)
If you register a new Android project this step is now added to the base config automatically, for existing projects you have to add it. The step was released earlier today - related announcement discussion: https://discuss.bitrise.io/t/android-automatic-dependency-installer-e-g-build-tools-step-install-missing-android-tools/316 TL;DR; from the discussion:
|
No description provided.