updated: run â./gradlew dependenciesâ in local machine also have same error. Maybe allProjects{} in project level build.gradle file have problem with strict version matcher. I also report this issue in strict version matcher github repo.
When I use â./gradlew app:dependenciesâ have no problem.
Thanks!
Environment:
Issue occurs install-missing-android-tools step.
Local build work well and only fails on bitrise build.
install-missing-android-tools v2.3.4 (change version does not help)
Reproducibility
Does a âRebuildâ help? (You can trigger a rebuild from the Buildâs page, by clicking the âRebuildâ button in the top right corner of a finished build) : NO
Sorry for the late response.
is the issue still there, or were you able to solve it?
if not, could you try the previous step version maybe?
if that does not help could you please enable support user on the settings tab?
I still have issue.
What do you mean previous step version? or support user.
As I told above, my issue is clear that ./gradlew dependencies commend which used in âinstall-missing-android-toolsâ make build error.
Because it also makes error locally but actually I donât need ./gradlew dependencies commend in local. Instead I use ./gradlew app:dependencies
Error shows because I have " allprojects {âŚ}" in my project level build.gradle file.
You can also test your any of android project which use 3.3.0 gradle plugin and contains " allprojects {âŚ}" in project level build.gradle file.
If I remove install-missing-android-tools in build step, every thing goes well.
Can I remove it?
Nowadays in most cases this step is not needed.
Android Gradle Plugin 2.2.0 (released in September 2016) or newer installs missing SDK components automatically.
If you donât need other version of NDK than current one provided by stack then NDK installation feature from that step is also useless for you.
Third feature provided by this step is accepting Android SDK licenses. Licenses are accepted weekly at the time of deploying new version of the stack, so virtually there is nothing more to accept during build. However if Google changes some license surprisingly then without this step your build will be failing until Bitrise team (hot)fixes the stack. IIRC that happened one time in the history.
Regardless of your case, it looks like a bug in step which should be fixed.