Android 30 SDK missing from VS Mac Stable Channel

Bitrise Build Issue Report template

Description of the issue

The Android 30 SDK appears to be missing from the VS Mac Stable Channel. This is odd as looking at the system report it is present in the previous stable channel (and Beta). This is causing our build to fail as we target SDK 30.

Environment:

VS Mac Stable Channel

If on Bitrise.io: which stack? If not on Bitrise.io: on what operating system? (Plus any other information you can share)

xamarin-archive v1.5.2

E.g.: Git Clone v3.6.0

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
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • Does the issue happen sporadically, or every time? : Every time
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : Unsure as our build was blocked over Christmas by another issue

Local reproduction

Can it be reproduced on your own Mac/PC by following our local debug guide? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what bitrise.io will get when it does a git clone in the clean environment! If possible please note which sections you tried.

Local reproduction: Linux / Android (docker based) stack builds

Can it be reproduced by running the build locally, after doing a new git clone of the repository into the /tmp directory and running the build from there with the Bitrise CLI ( https://www.bitrise.io/cli )? If no, can it be reproduced with Docker (using the same docker images / environment we use on bitrise.io)? Related guide: http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/ .

Build log

Please copy paste the build’s bitrise.io URL here (or if the issue happens somewhere else then the full logs), or if you can’t share the url / log here then send the url or full log through a private channel (e.g. email - https://www.bitrise.io/contact ), with a link to the related Discuss issue. https://app.bitrise.io/build/3848133ef40ae0b7#?tab=log

Hi @graham.pett
Thank you for reaching out to Bitrise.
Could you please try the build on a different stack and let me know if it is running successfully?

Thanks
Chaitanya

Hi @chaitanya.tanna

The build was running fine on osx-vs4mac-beta until the weekend when I notice there was a change to also remove Android 30 from this stack. Additionally, it has also been removed from osx-vs4mac-previous-stable so none of the stacks include Android 30 anymore. I get the following error on build:

error XA5207: Could not find android.jar for API level 30. This means the Android SDK platform for API level 30 is not installed.

Please could you address this urgently as we are now unable to build on any of the stacks.

Kind regards

Graham

58

OK, we’ve managed to resolve this by adding an “Android SDK Update” build step to our workflow to add SDK 30 to our configuration during build. I still don’t understand why this was removed from the stack in the first place given that it is the latest version of Android. I also don’t understand why it’s taken 12 days for someone from Bitrise to reply to this. We’ve wasted a lot of time troubleshooting this and it isn’t acceptable that Bitrise would make a breaking change like this to the stack.

Hi @graham.pett
I am glad that you managed to resolve the issue.
I am not sure how it got removed from the stack.
Everyone needs different SDK for their projects so we have added the step to manages everyone’s build that way everyone can install the SDK they require for their projects.
I am sorry for replying late to the post.

Thank you
Chaitanya

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.