# Android

**URL:** https://travis-ci.community/c/languages/android/59.md

[Latest](https://travis-ci.community/latest.md) · [Categories](https://travis-ci.community/categories.md) · [Tags](https://travis-ci.community/tags.md)

---

## [UI tests on travis CI - Unable to create a new remote session](https://travis-ci.community/t/ui-tests-on-travis-ci-unable-to-create-a-new-remote-session/4183)

<div class="topic-metadata">

**Author:** [@karcio](https://travis-ci.community/u/karcio)\
**Replies:** 11\
**Last updated:** [October 31, 2023, 3:11pm UTC](https://travis-ci.community/t/ui-tests-on-travis-ci-unable-to-create-a-new-remote-session/4183 "2023-10-31T15:11:51Z")

</div>

Hi guys, Trying run my Ui test for mobile application using selenium & appium but when maven start all suite I can see this error in log Driver info: driver.version: AndroidDriver remote stacktrace: UnknownError: An un…

---

## [Sdkmanager failure](https://travis-ci.community/t/sdkmanager-failure/12157)

<div class="topic-metadata">

**Author:** [@oahmedazab](https://travis-ci.community/u/oahmedazab)\
**Replies:** 7\
**Last updated:** [December 28, 2022, 11:26am UTC](https://travis-ci.community/t/sdkmanager-failure/12157 "2022-12-28T11:26:00Z")

</div>

after using upgrading android gradle plugin 7.0.2 i had to upgrade oraclejdk to oraclejdk11 from now i get this error related to sdkmanager $ yes | sdkmanager "platforms;android-29" Exception in thread "main" java.lan…

---

## [Trying to get Android build with SDK bigger than 22](https://travis-ci.community/t/trying-to-get-android-build-with-sdk-bigger-than-22/12405)

<div class="topic-metadata">

**Author:** [@MJGibson](https://travis-ci.community/u/MJGibson)\
**Replies:** 5\
**Last updated:** [December 21, 2021, 7:31pm UTC](https://travis-ci.community/t/trying-to-get-android-build-with-sdk-bigger-than-22/12405 "2021-12-21T19:31:50Z")

</div>

I’m struggling to get try and get Travis to build an android project with an emulator that is a higher SDK level than 22?

---

## [Any plans to update the distro for Android builds?](https://travis-ci.community/t/any-plans-to-update-the-distro-for-android-builds/12168)

<div class="topic-metadata">

**Author:** [@chagemann](https://travis-ci.community/u/chagemann)\
**Replies:** 0\
**Last updated:** [September 24, 2021, 4:22am UTC](https://travis-ci.community/t/any-plans-to-update-the-distro-for-android-builds/12168 "2021-09-24T04:22:32Z")

</div>

According to Building an Android Project - Travis CI the distro for Android builds is Trusty, which is already EoS (Releases - Ubuntu Wiki) and recommended to be replaced (The Trusty Build Environment - Travis CI). I’m …

---

## [Unable to specify build-tools-30.0.1 and accept license](https://travis-ci.community/t/unable-to-specify-build-tools-30-0-1-and-accept-license/9389)

<div class="topic-metadata">

**Author:** [@johnjohndoe](https://travis-ci.community/u/johnjohndoe)\
**Replies:** 5\
**Last updated:** [September 8, 2021, 7:38am UTC](https://travis-ci.community/t/unable-to-specify-build-tools-30-0-1-and-accept-license/9389 "2021-09-08T07:38:41Z")

</div>

I specified the latest build-tools 30.0.1 for my Android project. Once I let it run it fails: ... \> Task :buildSrc:check \> Task :buildSrc:build File /home/travis/.android/repositories.cfg could not be loaded. Checking t…

---

## [Build apps with travis not supporting multiple locale (Languages) in Android](https://travis-ci.community/t/build-apps-with-travis-not-supporting-multiple-locale-languages-in-android/10933)

<div class="topic-metadata">

**Author:** [@AndroidDev-Simform](https://travis-ci.community/u/AndroidDev-Simform)\
**Replies:** 3\
**Last updated:** [August 17, 2021, 4:36pm UTC](https://travis-ci.community/t/build-apps-with-travis-not-supporting-multiple-locale-languages-in-android/10933 "2021-08-17T16:36:40Z")

</div>

I am working on the project which support multiple locale (Languages). The app is supporting multiple languages by installing directly it from the Android studio or build app with the Android studio. But when we build th…

---

## [Android studio emulator SDK 23 not building](https://travis-ci.community/t/android-studio-emulator-sdk-23-not-building/11584)

<div class="topic-metadata">

**Author:** [@Sarl98](https://travis-ci.community/u/Sarl98)\
**Replies:** 1\
**Last updated:** [May 12, 2021, 9:32am UTC](https://travis-ci.community/t/android-studio-emulator-sdk-23-not-building/11584 "2021-05-12T09:32:33Z")

</div>

I’ve been trying to use Travis CI with Android Studio but I can’t get the emulator to work, I don’t know what else i need to declare, does anybody have experience with android emulators and Travis CI? https://travis-ci.…

---

## [Failed to install the following Android 30 SDK](https://travis-ci.community/t/failed-to-install-the-following-android-30-sdk/11287)

<div class="topic-metadata">

**Author:** [@johnjohndoe](https://travis-ci.community/u/johnjohndoe)\
**Replies:** 1\
**Last updated:** [March 13, 2021, 10:51am UTC](https://travis-ci.community/t/failed-to-install-the-following-android-30-sdk/11287 "2021-03-13T10:51:24Z")

</div>

I like to use compileSdkVersion 30 and targetSdkVersion 30 in my Android project. Once I push the branch to Travis CI then the build fails with the following error: Task :buildSrc:build File /home/travis/.android/repos…

---

## [Inaccessible UI elements in Espresso connectedDebugAndroidTest](https://travis-ci.community/t/inaccessible-ui-elements-in-espresso-connecteddebugandroidtest/9816)

<div class="topic-metadata">

**Author:** [@ashwinkey04](https://travis-ci.community/u/ashwinkey04)\
**Replies:** 1\
**Last updated:** [December 13, 2020, 3:35pm UTC](https://travis-ci.community/t/inaccessible-ui-elements-in-espresso-connecteddebugandroidtest/9816 "2020-12-13T15:35:53Z")

</div>

I am trying to run the command ./gradlew build connectedAndroidTest command which will trigger the android UI tests written for an app. The tests are fine and passes when ran locally using an emulator or phone with a no…

---

## [Android-wait-for-emulator](https://travis-ci.community/t/android-wait-for-emulator/9699)

<div class="topic-metadata">

**Author:** [@sukhendra-java](https://travis-ci.community/u/sukhendra-java)\
**Replies:** 1\
**Last updated:** [August 25, 2020, 1:33am UTC](https://travis-ci.community/t/android-wait-for-emulator/9699 "2020-08-25T01:33:01Z")

</div>

Hi Team, I am running the integration test for flutter app, while running the integration test for android , it got stuck on starting the android emulator, below is the log details. ! Doctor found issues in 2 categorie…

---

## [Is Android 28 emulator supported?](https://travis-ci.community/t/is-android-28-emulator-supported/1718)

<div class="topic-metadata">

**Author:** [@daquexian](https://travis-ci.community/u/daquexian)\
**Replies:** 14\
**Last updated:** [March 17, 2020, 8:42am UTC](https://travis-ci.community/t/is-android-28-emulator-supported/1718 "2020-03-17T08:42:08Z")

</div>

My .travis.yml: language: android sudo: true git: depth: 3 android: components: - tools - tools - platform-tools - build-tools-28.0.3 # The SDK version used to compile your project - android-…

---

## [Debug-app.apk missing after the build is successfull](https://travis-ci.community/t/debug-app-apk-missing-after-the-build-is-successfull/6967)

<div class="topic-metadata">

**Author:** [@imprakharshukla](https://travis-ci.community/u/imprakharshukla)\
**Replies:** 1\
**Last updated:** [January 22, 2020, 2:49pm UTC](https://travis-ci.community/t/debug-app-apk-missing-after-the-build-is-successfull/6967 "2020-01-22T14:49:55Z")

</div>

I am trying to release a version (on GitHub releases) every time I push my code to the repo. The build is successful but apk isn’t generated. Here is my travis.yml Here is the log of the build As you can see here …

---

## [Get build artifacts after the build](https://travis-ci.community/t/get-build-artifacts-after-the-build/6530)

<div class="topic-metadata">

**Author:** [@ganeshramcmu](https://travis-ci.community/u/ganeshramcmu)\
**Replies:** 2\
**Last updated:** [December 23, 2019, 8:11am UTC](https://travis-ci.community/t/get-build-artifacts-after-the-build/6530 "2019-12-23T08:11:05Z")

</div>

I am able to successfully build an android app. But I can’t seem to locate where the apk file can be accessed from. It’ll be great if someone could help here.

---

## [Installing Android ABIs](https://travis-ci.community/t/installing-android-abis/5737)

<div class="topic-metadata">

**Author:** [@JacobHearst](https://travis-ci.community/u/JacobHearst)\
**Replies:** 0\
**Last updated:** [October 30, 2019, 3:11pm UTC](https://travis-ci.community/t/installing-android-abis/5737 "2019-10-30T15:11:27Z")

</div>

Hi everyone, I’m currently trying to create a config to run both unit and integration tests. Currently I’m running into issues trying to start an Android 29 emulator. My current travis.yml looks like this: language: and…

---

## [Installing Android dependencies - android-update-sdk: command not found](https://travis-ci.community/t/installing-android-dependencies-android-update-sdk-command-not-found/4138)

<div class="topic-metadata">

**Author:** [@karcio](https://travis-ci.community/u/karcio)\
**Replies:** 10\
**Last updated:** [August 1, 2019, 1:41am UTC](https://travis-ci.community/t/installing-android-dependencies-android-update-sdk-command-not-found/4138 "2019-08-01T01:41:53Z")

</div>

Hi Trying to run my maven project for testing UI in android application. To prepare execution I need to run appium and run emulator. I can do all this on my local env from bash script. As project is on github I would li…

---

## [Android builds default to Precise, which is 2 years EOL](https://travis-ci.community/t/android-builds-default-to-precise-which-is-2-years-eol/4352)

<div class="topic-metadata">

**Author:** [@gnprice](https://travis-ci.community/u/gnprice)\
**Replies:** 1\
**Last updated:** [July 24, 2019, 2:02pm UTC](https://travis-ci.community/t/android-builds-default-to-precise-which-is-2-years-eol/4352 "2019-07-24T14:02:01Z")

</div>

Starting a few days ago, our project’s builds have been failing with a glibc version error. The reason turns out to be that they’re running on Ubuntu precise. That release is from 2012, and it went EOL over 2 years ago …

---

## [Multiple Jobs Launched](https://travis-ci.community/t/multiple-jobs-launched/4155)

<div class="topic-metadata">

**Author:** [@chander-stripe](https://travis-ci.community/u/chander-stripe)\
**Replies:** 3\
**Last updated:** [July 15, 2019, 11:20pm UTC](https://travis-ci.community/t/multiple-jobs-launched/4155 "2019-07-15T23:20:34Z")

</div>

Hi, Recently I’ve noticed my android builds periodically fail - it launches 5 jobs, and usually in 2 or 3 of the jobs, the tests will pass, but in the rest they’ll fail. Sometimes only 1 of them pass. Here’s an example …

---

## [Travis \`language android\` lies about available emulators](https://travis-ci.community/t/travis-language-android-lies-about-available-emulators/3883)

<div class="topic-metadata">

**Author:** [@bmeike](https://travis-ci.community/u/bmeike)\
**Replies:** 0\
**Last updated:** [June 24, 2019, 4:39pm UTC](https://travis-ci.community/t/travis-language-android-lies-about-available-emulators/3883 "2019-06-24T16:39:09Z")

</div>

Using the: language: android directive, in Travis causes it to print the following, to the log: e\[34me\[1mList of Android SDK components that can be specified in .travis.ymle\[0m \<text elided...\> sys-img-arm64-v8a-andro…

---

## [Travis builds failing due to discrepancy between worker instance and dist version](https://travis-ci.community/t/travis-builds-failing-due-to-discrepancy-between-worker-instance-and-dist-version/3693)

<div class="topic-metadata">

**Author:** [@Nescafemix](https://travis-ci.community/u/Nescafemix)\
**Replies:** 3\
**Last updated:** [June 18, 2019, 4:14pm UTC](https://travis-ci.community/t/travis-builds-failing-due-to-discrepancy-between-worker-instance-and-dist-version/3693 "2019-06-18T16:14:52Z")

</div>

Hi, since some hours ago my builds are failing at Travis but I didn’t change the script. I was not forcing a dist so, until some hours ago, my builds were being executed under a trusty dist. Now, by default, they were …

---

## [\[BUG\] Requesting Xenial, getting Precise with language: android](https://travis-ci.community/t/bug-requesting-xenial-getting-precise-with-language-android/1773)

<div class="topic-metadata">

**Author:** [@ale5000](https://travis-ci.community/u/ale5000)\
**Replies:** 7\
**Last updated:** [June 12, 2019, 3:01pm UTC](https://travis-ci.community/t/bug-requesting-xenial-getting-precise-with-language-android/1773 "2019-06-12T15:01:21Z")

</div>

As title said. Sample: https://travis-ci.com/a5k-testing/unzip-test/builds/96905522 PS: Could you please add a specific category for bug reports?

---

## [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)

<div class="topic-metadata">

**Author:** [@mikehardy](https://travis-ci.community/u/mikehardy)\
**Replies:** 13\
**Last updated:** [May 17, 2019, 10:30pm UTC](https://travis-ci.community/t/android-emulators-not-starting-for-the-last-few-days-late-march-2019/2871 "2019-05-17T22:30:49Z")

</div>

Not sure what is going on recently but builds that used to work are now failing. Just to be sure I wasn’t losing my mind I went back to a build that did work, and restarted it. Now it fails. https://travis-ci.com/mikeh…

---

## [Android Emulator throws Permission Denied](https://travis-ci.community/t/android-emulator-throws-permission-denied/1229)

<div class="topic-metadata">

**Author:** [@GabrielBB](https://travis-ci.community/u/GabrielBB)\
**Replies:** 6\
**Last updated:** [December 15, 2018, 12:44am UTC](https://travis-ci.community/t/android-emulator-throws-permission-denied/1229 "2018-12-15T00:44:04Z")

</div>

I test my application locally using Espresso with an Android API 22 emulator and it works. I have this in my Manifest.xml: \<uses-permission android:name="android.permission.WRITE\_EXTERNAL\_STORAGE" /\> I also ask for per…

---

## [The command "echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a" failed and exited with 1 during](https://travis-ci.community/t/the-command-echo-no-android-create-avd-force-n-test-t-android-22-abi-armeabi-v7a-failed-and-exited-with-1-during/1059)

<div class="topic-metadata">

**Author:** [@huxaiphaer](https://travis-ci.community/u/huxaiphaer)\
**Replies:** 0\
**Last updated:** [November 25, 2018, 7:34pm UTC](https://travis-ci.community/t/the-command-echo-no-android-create-avd-force-n-test-t-android-22-abi-armeabi-v7a-failed-and-exited-with-1-during/1059 "2018-11-25T19:34:46Z")

</div>

Am new with travis alongside android development, my build is failing because of the error title I indicated , I have been reading the documentation and I tried to implement it, but still the build is failing. The link…

---

## [Build throws segfault; Cannot allocate memory](https://travis-ci.community/t/build-throws-segfault-cannot-allocate-memory/959)

<div class="topic-metadata">

**Author:** [@Nielsbishere](https://travis-ci.community/u/Nielsbishere)\
**Replies:** 3\
**Last updated:** [November 22, 2018, 11:10pm UTC](https://travis-ci.community/t/build-throws-segfault-cannot-allocate-memory/959 "2018-11-22T23:10:22Z")

</div>

The ubuntu Android environment seems to not be able to allocate memory. When running CMake, it throws the following errors: Segmentation fault /bin/sh: 1: /bin/sh: 1: /home/travis/build/OsomiLunar/ocore/cmake/bi…
