# Weekly Virtual Machine / Stack updates - 2017.07.15

**URL:** <https://discuss.bitrise.io/t/weekly-virtual-machine-stack-updates-2017-07-15/2271>\
**Category:** Changelog\
**Tags:** stack-updates\
**Created:** [July 14, 2017, 8:01pm UTC](https://discuss.bitrise.io/t/weekly-virtual-machine-stack-updates-2017-07-15/2271 "2017-07-14T20:01:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [July 14, 2017, 8:01pm UTC](https://discuss.bitrise.io/t/weekly-virtual-machine-stack-updates-2017-07-15/2271/1 "2017-07-14T20:01:22Z")

</div>

## Highlights

- [Bitrise CLI 1.7.0](http://discuss.bitrise.io/t/monthly-release-of-bitrise-cli-tools-and-summary-of-updates-july-2017-cli-v1-7-0/2229) available on all stacks!

### Android/Linux stacks

- Python PIP pre-installed on Linux/Android : [Add pip by bootstraponline · Pull Request #119 · bitrise-io/bitrise-base · GitHub](https://github.com/bitrise-docker/bitrise-base/pull/119) - thanks @bootstraponline !
- SDK tools updated to 26.0.2 : [SDK tools updated to 26.0.2 by koral-- · Pull Request #95 · bitrise-io/android · GitHub](https://github.com/bitrise-docker/android/pull/95) - thanks @koral !
- More detailed system report + “emulator” package preinstalled : [SDK tools, Platform Tools and Emulator versions added to `system_report.sh` by koral-- · Pull Request #96 · bitrise-io/android · GitHub](https://github.com/bitrise-docker/android/pull/96/files) - thanks @koral !

### Xcode stacks

- Xcode 9.0.x stack: upgrade from Xcode 9 beta 2 to Xcode 9 beta 3

### Xamarin stacks

- Xamarin Beta update: [https://releases.xamarin.com/beta-release-15-3-preview-4/](https://releases.xamarin.com/beta-release-15-3-preview-4/)

## This week’s changes (diffs)

> <https://github.com/bitrise-io/bitrise.io/pull/150>

## 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](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](https://github.com/bitrise-io/bitrise.io#request-a-tool-to-be-pre-installed-on-a-build-machine), for both the Linux and for the macOS stacks.

_Information about **Stack types & update schedules** can be found here: [discuss.bitrise.io/t/281](http://discuss.bitrise.io/t/how-are-the-bitrise-io-stacks-updated-and-with-what-frequency/281)._

**Happy Building!**

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [July 14, 2017, 8:01pm UTC](https://discuss.bitrise.io/t/weekly-virtual-machine-stack-updates-2017-07-15/2271/2 "2017-07-14T20:01:34Z")

</div>

All stacks passed our tests and ready for deploy on Saturday 🚀

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [July 15, 2017, 12:04pm UTC](https://discuss.bitrise.io/t/weekly-virtual-machine-stack-updates-2017-07-15/2271/3 "2017-07-15T12:04:02Z")

</div>

New stacks deployed and are available in production 🎉

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [July 16, 2017, 10:27am UTC](https://discuss.bitrise.io/t/weekly-virtual-machine-stack-updates-2017-07-15/2271/4 "2017-07-16T10:27:54Z")

</div>

**Android SDK update note** : the previous `android sdk update ...` command is no longer available in the latest Android SDK.

If you install packages manually with `android sdk update` please change them to `sdkmanager PACKAGE`.

E.g. instead of:

```auto
echo y | android update sdk --no-ui --all --filter build-tools-24.0.1 | grep 'package installed'

```

use:

```auto
sdkmanager "build-tools;24.0.1"

```

That said, **if you can, please use the the [Install Missing Android Tools](http://discuss.bitrise.io/t/android-automatic-dependency-installer-e-g-build-tools-step-install-missing-android-tools/316) step instead**, that should be able to detect and install all the tools your Android project requires but are not preinstalled.

* * *

If you use the old `android update sdk` command on a stack where that’s no longer available (on the LTS Android stack it is still available of course), you’ll get an error like:

```auto
*************************************************************************
The "android" command is deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
*************************************************************************
Filter extra-android-support not supported

```

---

<div class="post-metadata">

**Author:** ![koral](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/koral/32/357_2.png) [@koral](https://discuss.bitrise.io/u/koral)\
**Post date:** [July 16, 2017, 10:49am UTC](https://discuss.bitrise.io/t/weekly-virtual-machine-stack-updates-2017-07-15/2271/5 "2017-07-16T10:49:52Z")

</div>

> [@viktorbenei](#):
>
> the previous android sdk update … command is no longer available in the latest Android SDK.

According to changelog on [Notas da versão do Ferramentas do SDK &nbsp;|&nbsp; Android Studio &nbsp;|&nbsp; Android Developers](https://developer.android.com/studio/releases/sdk-tools.html) for version 26.0.0 (so it should work in newer versions unless noted in next changelogs):

> tools/android now attempts to reproduce the functionality of android in tools prior to version 25.3.0 by invoking the new tools.
> 
> - All avd, target, and device commands should work as before.
> - sdk commands will be translated to similar commands using tools/bin/sdkmanager on a best-effort basis.

Here is the help message from 26.0.2:

> $ $ANDROID\_HOME/tools/android
> 
> * * *
> 
> The “android” command is deprecated.  
> For manual SDK, AVD, and project management, please use Android Studio.  
> For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
> 
> * * *
> 
> Invalid or unsupported command “”

> Supported commands are:  
> android list target  
> android list avd  
> android list device  
> android create avd  
> android move avd  
> android delete avd  
> android list sdk  
> android update sdk

According to the last line:` android update sdk` is supported. So it is only deprecated but not unavailable.

Isn’t only this: `Filter extra-android-support not supported` an error?

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [July 16, 2017, 2:09pm UTC](https://discuss.bitrise.io/t/weekly-virtual-machine-stack-updates-2017-07-15/2271/6 "2017-07-16T14:09:16Z")

</div>

You might be right @koral, although the original report came from a user who tried to install `build-tools-x.x.x` which did work previously but not since this update, so I thought they already made the change. Might have been just something else.

In any case switching to `sdkmanager` is advised, but indeed that might not be required in every case just yet.

---

<div class="post-metadata">

**Author:** ![koral](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/koral/32/357_2.png) [@koral](https://discuss.bitrise.io/u/koral)\
**Post date:** [July 17, 2017, 12:24am UTC](https://discuss.bitrise.io/t/weekly-virtual-machine-stack-updates-2017-07-15/2271/7 "2017-07-17T00:24:26Z")

</div>

> [@viktorbenei](#):
>
> In any case switching to sdkmanager is advised

👍 Totally.

> [@viktorbenei](#):
>
> tried to install build-tools-x.x.x which did work previously but not since this update

It seems that that action has to be confirmed:

```auto
Continue? (This prompt can be suppressed with the --use-sdk-wrapper command-line argument
or by setting the USE_SDK_WRAPPER environment variable) [y/N]: 

```

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [July 17, 2017, 8:02am UTC](https://discuss.bitrise.io/t/weekly-virtual-machine-stack-updates-2017-07-15/2271/8 "2017-07-17T08:02:44Z")

</div>

> [@koral](#):
>
> It seems that that action has to be confirmed

That doesn’t change the fact that it have to be changed 😉 And if you change the command, it’s the best time to opt to use the new solution (`sdkmanager`) instead of the old one (`android update sdk`) IMO 🙂

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [July 17, 2017, 10:32am UTC](https://discuss.bitrise.io/t/weekly-virtual-machine-stack-updates-2017-07-15/2271/9 "2017-07-17T10:32:56Z")

</div>

> [@koral](#):
>
> It seems that that action has to be confirmed:

Just checked and there was no output like that there, the only output generated by the `android update sdk` command was:

```auto
Warning: File /root/.android/repositories.cfg could not be loaded.

```

And then it exited with exit code 1
