Android Emulator Troubleshooting

Written by: Vale

Developer Zone

1 min read

Stay connected

If you are on this page, you are probably having hard times trying to use Android Emulators with Jenkins.

The first thing you may want to do is making sure you configure the advanced options this way:

Note: Since the emulator will be running headless (i.e without a visible display), you should make sure that "Show emulator window" (under Common Emulator Options) is unchecked. You should also click on the "Advanced" button and specify "-no-audio -gpu off" as Emulator options.

If this did not work for you and specifically if you are experiencing timeouts using emulators:

  • make sure you install the last version of the pluginhttps://wiki.jenkins-ci.org/display/JENKINS/Android+Emulator+Plugin ), which increases the startup timeout from 180 to 360

  • do not use snapshot s

  • use sdk 4.2 or Android-18/Google API 18 : newer version of android are more demanding on the hardware which could mean a longer startup-time (this link indeed suggest to use older version of Android with emulator).

To retrieve the list of available targets you can run android list target

Valentina Armenise
Software Engineer
CloudBees

Stay up to date

We'll never share your email address and you can opt out at any time, we promise.

Loading form...
Your ad blocker may be blocking functionality on this page. Please disable for an improved experience.