Weekly Virtual Machine / Stack updates - 2017.01.14

stack-updates
#1

Highlights

All stacks

Android/Linux stack

Older point releases of build-tools were removed, as you can see in the PR.

If your project depends on one of these older point releases of the build-tools, and you get an error like this (we use 23.0.1 as an example here, replace the version number with any of the removed ones, it works for all):

A problem occurred configuring project ':app'.

> failed to find Build Tools revision 23.0.1

You have two ways to solve this:

  1. Upgrade your project to use a newer build-tools version, e.g. 23.0.3 instead of 23.0.1 or 23.0.2 (related #how-to guide: How to set/update the Build Tools version in your Android gradle project) - this is the recommended solution, as this will result in the fastest builds
  2. Install the build-tool like you would any other Android package.

If you get this error:

You have not accepted the license agreements of the following SDK components: 
[Android SDK Build-Tools 23.0.1]. 
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager. 
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html

You can either follow the previous steps, or alternatively you can provide the required license files - see: http://devcenter.bitrise.io/android/frequent-android-issues/#alternative-solution-for-the-license-error

Xamarin stacks

This week’s change diffs

Stack System Reports

You can find the full system report of all of the available Stacks on GitHub: https://github.com/bitrise-io/bitrise.io/tree/master/system_reports.

If you’d like to add additional tools to be pre-installed you can find the instructions on GitHub, for both the Linux and for the macOS stacks.

Information about Stack types & update schedules can be found here: https://discuss.bitrise.io/t/how-are-the-bitrise-io-stack-updated-and-with-what-frequency/281.

Happy Building!

1 Like

Since 2016-12-15 Xamarin Build Times Increased - Stable/Beta Channels
Android compile issue (SDK Build tools license)
Android - automatic dependency installer (e.g. build-tools) step : Install missing Android tools
#2

All stacks passed our tests and ready for tomorrow’s deploy :rocket:

0 Likes

#3

New stacks deployed and are available in production now :tada:

1 Like

pinned #4
0 Likes

#5

As we got many questions related this, this is the highlight of which build tools versions were removed, and which ones are still pre-installed:

Removed

  • build-tools-25.0.1
  • build-tools-25.0.0
  • build-tools-24.0.2
  • build-tools-24.0.1
  • build-tools-24.0.0
  • build-tools-23.0.2
  • build-tools-23.0.1

Related Pull Request

Preinstalled / available:

  • build-tools-25.0.2
  • build-tools-24.0.3
  • build-tools-23.0.3
  • build-tools-22.0.1
  • build-tools-21.1.2
  • build-tools-20.0.0
  • build-tools-19.1.0
  • build-tools-17.0.0

You can always see which versions are preinstalled in the related Dockerfile on GitHub

2 Likes

Android compile issue (SDK Build tools license)
#6

If you want to subscribe to these platform/stack update announcements, please see: http://blog.bitrise.io/2017/01/14/weekly-virtual-machine-stack-updates-now-on-discuss-bitrise-io.html

And if you’re more of an RSS type of guy/gal: How to subscribe to a discuss.bitrise.io category via RSS

0 Likes