# \[BUG\] Requesting Xenial, getting Precise with language: android

**URL:** https://travis-ci.community/t/bug-requesting-xenial-getting-precise-with-language-android/1773
**Category:** Android
**Created:** [January 10, 2019, 2:41pm UTC](https://travis-ci.community/t/bug-requesting-xenial-getting-precise-with-language-android/1773 "2019-01-10T14:41:20Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![ale5000](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/ale5000/32/934_2.png) [@ale5000](https://travis-ci.community/u/ale5000)
#### Post date: [January 10, 2019, 2:41pm UTC](https://travis-ci.community/t/bug-requesting-xenial-getting-precise-with-language-android/1773/1 "2019-01-10T14:41:21Z")

</div>

As title said.

Sample: [https://travis-ci.com/a5k-testing/unzip-test/builds/96905522](https://travis-ci.com/a5k-testing/unzip-test/builds/96905522)

PS: Could you please add a specific category for bug reports?

---

<div class="post-metadata">

### Author: ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)
#### Post date: [January 10, 2019, 3:48pm UTC](https://travis-ci.community/t/bug-requesting-xenial-getting-precise-with-language-android/1773/2 "2019-01-10T15:48:09Z")

</div>

We don’t have such an image at the moment. And may not have it in the near future. (Android images are a bit of work.)

What do you need in Xenial you can’t get on Trusty?

---

<div class="post-metadata">

### Author: ![ale5000](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/ale5000/32/934_2.png) [@ale5000](https://travis-ci.community/u/ale5000)
#### Post date: [January 11, 2019, 11:21am UTC](https://travis-ci.community/t/bug-requesting-xenial-getting-precise-with-language-android/1773/3 "2019-01-11T11:21:30Z")

</div>

I don’t have a specific need currently but I usually always prefer to start with an updated OS and hopefully faster.

PS: It would be better to fallback to Trusty instead of Precise.

---

<div class="post-metadata">

### Author: ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)
#### Post date: [January 11, 2019, 12:19pm UTC](https://travis-ci.community/t/bug-requesting-xenial-getting-precise-with-language-android/1773/4 "2019-01-11T12:19:44Z")

</div>

If you don’t specify `dist`, you should get Trusty.

---

<div class="post-metadata">

### Author: ![litefeel](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/litefeel/32/1329_2.png) [@litefeel](https://travis-ci.community/u/litefeel)
#### Post date: [March 6, 2019, 5:11am UTC](https://travis-ci.community/t/bug-requesting-xenial-getting-precise-with-language-android/1773/5 "2019-03-06T05:11:26Z")

</div>

Yes. This bug still exists.

[https://travis-ci.org/litefeel/adbtool/jobs/502398769](https://travis-ci.org/litefeel/adbtool/jobs/502398769)

---

<div class="post-metadata">

### Author: ![G00fY2](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/g00fy2/32/1407_2.png) [@G00fY2](https://travis-ci.community/u/G00fY2)
#### Post date: [March 22, 2019, 6:05pm UTC](https://travis-ci.community/t/bug-requesting-xenial-getting-precise-with-language-android/1773/6 "2019-03-22T18:05:22Z")

</div>

Since the Android image is outdated and for me it wasn’t clear if the latest platform-,build- and sdk-tools where used I ended up using the _dist:xenial_ image ([2019-01-14](https://docs.travis-ci.com/user/build-environment-updates/)) with _language:minimal_ and set-up the Android related tools by myself:  
[**View config**](https://travis-ci.com/G00fY2/android-ci-testproject/jobs/187085499/config)

Even though the documentation states that xenial only comes with _openjdk10_ and _openjdk11_ preinstalled and that _language:minimal_ doesn’t contains _JVM_ at all, _xenial/minimal_ actually has _openjdk8_ installed but _JAVA\_HOME_ needs to be set. 🙂

Building works fine and is fast (2min 17sec for an empty sample project).

Launching the emulator and stuff should be no problem.

---

<div class="post-metadata">

### Author: ![mikehardy](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/mikehardy/32/754_2.png) [@mikehardy](https://travis-ci.community/u/mikehardy)
#### Post date: [April 8, 2019, 2:28am UTC](https://travis-ci.community/t/bug-requesting-xenial-getting-precise-with-language-android/1773/7 "2019-04-08T02:28:20Z")

</div>

you might be interested in this - looks like you need the canary emulator right now [Android emulators not starting for the last few days? (late March 2019)](https://travis-ci.community/t/android-emulators-not-starting-for-the-last-few-days-late-march-2019/2871/12)

---

<div class="post-metadata">

### Author: ![Nescafemix](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/nescafemix/32/1957_2.png) [@Nescafemix](https://travis-ci.community/u/Nescafemix)
#### Post date: [June 12, 2019, 3:01pm UTC](https://travis-ci.community/t/bug-requesting-xenial-getting-precise-with-language-android/1773/8 "2019-06-12T15:01:21Z")

</div>

this is not happening from some hours ago. Now, if you don’t specify dist you get Xenial, that in fact is a Precise worker instance XD. I’m having the same problem
