Questions tagged [android-emulator-plugin]

Android Emulator Plugin for Jenkins automates many Android development tasks including SDK installation, build file generation, emulator creation and launch, APK (un)installation, monkey testing and analysis...

Android Emulator Plugin for Jenkins automates many Android development tasks including SDK installation, build file generation, emulator creation and launch, APK (un)installation and more.

Feature list from the official plugin page:

  • Creating a new Android emulator
    • Its configuration can be parameterised, including OS version, screen size, locale and hardware properties
    • Android SDK dependencies are automatically downloaded and installed
  • Running any Android emulator

    • Waits until the emulator is fully started-up

    • Emulator snapshots can be automatically created

      • This allows a very fast startup time for subsequent builds
      • This ensures subsequent builds will start from the same clean state
    • Logs are automatically captured and saved
    • Emulator will be shut down automatically when the build has finished
    • Multiple instances of the same emulator are prevented from running concurrently
  • Detecting which Android platforms are required to build one or more projects and installing them automatically
  • Generating Ant build files for any app, test or library projects found in the workspace
  • Installing an Android package onto an emulator
  • Uninstalling an Android package from an emulator
  • Running the monkey stress-testing tool
  • Parsing output from running monkey
  • The build outcome can be automatically marked as unstable or failed in case a monkey-induced crash is detected
40 questions
17
votes
2 answers

Why is Jenkins Android Emulator Plugin recreating my Emulator Snapshots in every build?

I use Jenkins to build one of my projects. The Android Emulator Plugin automatically starts an emulator with the following configuration: Configuration of the Emulator Plugin: . Every time the job is running I get the following output: Erasing…
Janusz
  • 187,060
  • 113
  • 301
  • 369
12
votes
2 answers

Android Emulator Plugin on Jenkins - How to extend timeout?

I've managed to get the Android Emulator plugin setup and working on Jenkins. However, my problem is that it times out after 3 minutes. I am only running it on a very slow nettop Linux box (intel atom) so I imagine it will take MUCH longer to start…
sipickles
  • 1,637
  • 1
  • 19
  • 30
6
votes
1 answer

The Android Studio emulator is not working on Windows 7

The Android Studio emulator is not working. When I force the AVD manager to load, it shows the error. The error screenshot:
Stephan John
  • 331
  • 1
  • 2
  • 11
5
votes
1 answer

Jenkins unable to start emulator

I am trying to run the emulator on the Jenkins server. But I keep getting this error that Jenkins is unable to start the emulator becoz of the error below until it times out: [android] Waiting 10 seconds before starting emulator... $…
5
votes
1 answer

How to set path in Jenkins for directory having Android AVD?

When I try to build my android workspace using Jenkins Build Now option, It will show the error like [android] Cannot start Android emulator: Could not start AVD 'Nexus_4', as it could not be found at…
Ravi Bhatt
  • 1,930
  • 1
  • 14
  • 27
5
votes
2 answers

qemu: could not load PC BIOS 'bios.bin' in Mountain Lion

I upgraded my mac installing, Mountain Lion 10.8.4 but now "Eclipse" goes into error every time I try to load an Android AVD. The error that returns is this: qemu: could not load PC BIOS 'bios.bin' help me to solve this problem?   thanks
bisemanu
  • 441
  • 2
  • 9
  • 19
4
votes
0 answers

Jenkins Android Emulator Plugin not connecting

I am having problems with the Android Emulator Plugin in Jenkins. I am trying to start an emulator, but most of the times, it will just wait until the device is online, resulting in a timeout. The errorcode can be seen here: $…
chro
  • 95
  • 2
  • 7
4
votes
3 answers

Android emulator plugin doesn't find the android SDK

I'm trying to configure android emulator plugin for Jenkins and I'm having a hard time trying to figure out why the plugin can't find the Android SDK. First, after cloning the project Jenkins always output: [android] No Android SDK found; let's…
Raphael Oliveira
  • 7,751
  • 5
  • 47
  • 55
3
votes
1 answer

Jenkins tries to launch tools/emulator instead of emulator/emulator (Android Emulator Plugin)

I'm trying to set up Jenkins UI tests, and it fails on running emulator command, which was moved from {$ANDROID_SDK}/tools/emulator to {$ANDROID_SDK}/emulator/emulator in one of android sdk tools update. I'm not sure why: the Android Emulator Plugin…
3
votes
1 answer

android run emulator with real phone

I saw a friend running her android application on her phone AND with the same time in emulator. what i mean is the screen of the phone is shown in the emulator. I would like to know how to do that because this wan gives me the opportunity to show my…
Marco Dinatsoli
  • 10,322
  • 37
  • 139
  • 253
2
votes
0 answers

Jenkins Android Emulator Plugin - "Could not create Android emulator: Failed to parse AVD config file"

I'm struggling to find a recent sdk version that has Google APIs installed that will work with the Jenkins Android Emulator plugin. I'm sure they exist, but I can't figure out what the right Android OS Version parameter to configure the plugin…
2
votes
1 answer

Android emulator failed to boot 80% of the time when started via Jenkins only

Hi I am working on a MAC book. When I start the android emulator through Jenkins 80% of the time the emulator fails to boot. Without Jenkins it works. Building in workspace /Users/Shared/Jenkins/Home/workspace/Stress Test $…
2
votes
1 answer

Partition Size fails to be set from Android Emulator Plugin

I'm trying to copy a HOSTS file over to an avd created using the android-emulator-plugin in jenkins. I've specified the partition-size to be 128, which works just fine when running from the command line, but when i copy the hosts file to…
kingargyle
  • 1,239
  • 10
  • 15
2
votes
0 answers

Starting Android Emulator On Jenkins Gives WindowServer Error

How can I get the android emulator running on jenkins for my testing (MacOSX Server)? I have tried the plugin, gives same error (yes I unchecked 'show window'), so I executed a shell script of my own on jenkins during build and I get the same error.…
2
votes
1 answer

Android Emulator Plugin Failed to Initialize backend EGL display

I set up a Jenkins Job on Cloudbees and I can successfully checkout and compile my Android project there. Now I would like to run some JUnit tests in the android emulator and added the Android emulator plugin. I set the “Show Emulator Window“ option…
Patrick
  • 447
  • 8
  • 17
1
2 3