# Android emulator \[AVD Manager\] - Process system isn't responding

**URL:** https://discuss.bitrise.io/t/android-emulator-avd-manager-process-system-isnt-responding/13880
**Category:** Builds
**Tags:** step, android, emulator
**Created:** [August 10, 2020, 12:22pm UTC](https://discuss.bitrise.io/t/android-emulator-avd-manager-process-system-isnt-responding/13880 "2020-08-10T12:22:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![valipopa10](https://avatars.discourse-cdn.com/v4/letter/v/9f8e36/32.png) [@valipopa10](https://discuss.bitrise.io/u/valipopa10)
#### Post date: [August 10, 2020, 12:22pm UTC](https://discuss.bitrise.io/t/android-emulator-avd-manager-process-system-isnt-responding/13880/1 "2020-08-10T12:22:48Z")

</div>

# Android emulator fails when opening test app on device created using AVD Manager step: Process system isn’t responding

## Description of the issue

Hi there, I am facing an issue where, for an emulator created through AVD Manager step, when app is opened on device, system fails with error ‘_Process system isn’t responding_’. Tried, from actual test code, to kill and restart the app, leading to same result.

**AVD Manager configurations used:**

> Tried devices: Nexus or Pixel  
> Tried API Levels: 26 to 30  
> Tried OS tag: google\_apis  
> ABI: x86  
> Create command: --sdcard 512M  
> Start command args: -camera-back none -camera-front none

For create/start these are the default args, tried to increase RAM with no luck. Weird thing is that one out of ~20 builds passed.

These are the desired capabilities that I am using at the moment, tried different variations:

> adbExecTimeout: 300000  
> app: /bitrise/deploy/app-develop.apk  
> appWaitActivity: com.dozens.welcome.preauth.PreAuthActivity  
> automationName: UiAutomator2  
> deviceName: emulator-5554  
> enforceAppInstall: true  
> ignoreHiddenApiPolicyError: true  
> newCommandTimeout: 3600  
> noReset: false  
> uiautomator2ServerInstallTimeout: 360000

Will attach logcat records to this thread.

## Environment:

- This is the stack that I am using - [https://github.com/bitrise-io/bitrise.io/blob/master/system\_reports/linux-docker-android.log](https://github.com/bitrise-io/bitrise.io/blob/master/system_reports/linux-docker-android.log)
- Java version that I use: java-1.8.0-openjdk-amd64
- Install Appium: _npm install -g appium --unsafe-perm=true --allow-root_
- Start Appium: _appium &\>/dev/null &_

Also, Appium doctor, if useful:

> appium-doctor --android --yes  
> info AppiumDoctor Appium Doctor v.1.15.3  
> info AppiumDoctor ### Diagnostic for necessary dependencies starting ###  
> info AppiumDoctor ✔ The Node.js binary was found at: /usr/bin/node  
> info AppiumDoctor ✔ Node version is 12.18.3  
> info AppiumDoctor ✔ ANDROID\_HOME is set to: /opt/android-sdk-linux  
> info AppiumDoctor ✔ JAVA\_HOME is set to: /usr/lib/jvm/java-1.8.0-openjdk-amd64  
> info AppiumDoctor Checking adb, android, emulator  
> info AppiumDoctor ‘adb’ is in /opt/android-sdk-linux/platform-tools/adb  
> info AppiumDoctor ‘android’ is in /opt/android-sdk-linux/tools/android  
> info AppiumDoctor ‘emulator’ is in /opt/android-sdk-linux/emulator/emulator  
> info AppiumDoctor ✔ adb, android, emulator exist: /opt/android-sdk-linux  
> info AppiumDoctor ✔ Bin directory of $JAVA\_HOME is set  
> info AppiumDoctor ### Diagnostic for necessary dependencies completed, no fix needed. ###  
> info AppiumDoctor  
> info AppiumDoctor ### Diagnostic for optional dependencies starting ###  
> WARN AppiumDoctor ✖ opencv4nodejs cannot be found.  
> WARN AppiumDoctor ✖ ffmpeg cannot be found  
> WARN AppiumDoctor ✖ mjpeg-consumer cannot be found.  
> WARN AppiumDoctor ✖ bundletool.jar cannot be found  
> WARN AppiumDoctor ✖ gst-launch-1.0 and/or gst-inspect-1.0 cannot be found  
> info AppiumDoctor ### Diagnostic for optional dependencies completed, 5 fixes possible. ###

**Which build Step causes the issue and which version of the step?**  
Emulator starts, but when Maven runs the tests and thus Appium connects to device and starts the app, step fails (step is a custom Script)

## 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](http://devcenter.bitrise.io/caching/about-caching/#downloading-and-deleting-caches)._ : NO
- _Does the issue happen sporadically, or every time?_ : Every time
- _Does upgrading the build Step to the latest version help?_ : NO (already at latest version)
- _When did the issue start?_ : From the beginning of implementation, 3 weeks ago.

### Local reproduction

No issues when running it locally

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

Using Bitrise Cli, the emulator started by AVD manager is not responding, keeps loading and not responding.

## Build log

Build log - [Log in - Bitrise](https://app.bitrise.io/build/c8061a7eaed6e9c3#?tab=log)  
Here, at the last step called ‘Update AVD Manager’, you can also see Logcat output.

---

<div class="post-metadata">

### Author: ![RyanCrandall](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@RyanCrandall](https://discuss.bitrise.io/u/RyanCrandall)
#### Post date: [August 17, 2020, 6:55pm UTC](https://discuss.bitrise.io/t/android-emulator-avd-manager-process-system-isnt-responding/13880/2 "2020-08-17T18:55:39Z")

</div>

I hope someone fixes this because I have the same issue. Occasionally it will work, but majority of the time the emulator does not respond. I’ve opened a ticket, but still no response back.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)
#### Post date: [September 16, 2020, 6:55pm UTC](https://discuss.bitrise.io/t/android-emulator-avd-manager-process-system-isnt-responding/13880/3 "2020-09-16T18:55:41Z")

</div>

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