Issue Type: Bug Bug
Assignee: Christopher Orr
Components: android-emulator-plugin
Created: 12/Feb/15 2:04 PM
Description:

When running a build from Jenkins, with a x86_64 ABI of android-21, it fails to start with the following error:

[android] Starting Android emulator and creating initial snapshot
[android] Erasing existing emulator data...
$ /opt/android-sdk/tools/emulator -no-boot-anim -ports 5799,5800 -prop persist.sys.language=en -prop persist.sys.country=US -avd hudson_en-US_320_WVGA_android-21_x86-64 -no-snapshot-load -no-snapshot-save -wipe-data -no-window
ERROR: 32-bit Linux Android emulator binaries are DEPRECATED, to use them
you will have to do at least one of the following:

  • Use the '-force-32bit' option when invoking 'emulator'.
  • Set ANDROID_EMULATOR_FORCE_32BIT to 'true' in your environment.

Either one will allow you to use the 32-bit binaries, but please be
aware that these will disappear in a future Android SDK release.
Consider moving to a 64-bit Linux system before that happens.

[android] Emulator did not appear to start; giving up
[android] Stopping Android emulator

Which is completely bogus, since:

  • it's a 64 bit box:

    $ uname -m
    x86_64

  • using 64-bit Java:

    $ java -version
    java version "1.7.0_60"
    Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
    Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)

And running the same command from cli works just fine

HOME=. /opt/android-sdk/tools/emulator -no-boot-anim -ports 5799,5800 -prop persist.sys.language=en -prop persist.sys.country=US -avd hudson_en-US_320_WVGA_android-21_x86-64 -no-snapshot-load -no-snapshot-save -wipe-data -no-window
Creating filesystem with parameters:
Size: 69206016
Block size: 4096
Blocks per group: 32768
Inodes per group: 4224
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 16896
Block groups: 1
Reserved block group size: 7
Created filesystem with 11/4224 inodes and 1302/16896 blocks
Failed to Initialize backend EGL display
emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
emulator: warning: opening audio output failed

Environment: Ubuntu 12.04 x64, tomcat 7, java 7 x64
Project: Jenkins
Priority: Minor Minor
Reporter: Juan Sotuyo
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to