无法连接到Jenkins的AVD

时间:2015-01-27 18:10:10

标签: java android jenkins jenkins-plugins avd

我正在尝试使用Android模拟器插件为Jenkins运行AVD,但在运行模拟器后无法连接到设备:

$ /opt/android-sdk-linux/tools/emulator -no-boot-anim -ports 5829,5830 -prop persist.sys.language=en -prop persist.sys.country=US -avd hudson_en-US_160_WVGA_android-19_armeabi-v7a_myapp -no-snapshot-load -no-snapshot-save -wipe-data -no-window -force-32bit
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 open libEGL_translator
Failed to init_egl_dispatch
emulator: ERROR: OpenGLES initialization failed!
emulator: ERROR: OpenGLES emulation library could not be initialized!
emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
emulator: warning: opening audio output failed

$ /opt/android-sdk-linux/platform-tools/adb connect emulator-5829
[android] Waiting for emulator to finish booting...
$ /opt/android-sdk-linux/platform-tools/adb -s emulator-5829 shell getprop dev.bootcomplete
error: device not found
$ /opt/android-sdk-linux/platform-tools/adb -s emulator-5829 shell getprop dev.bootcomplete
error: device offline

0 个答案:

没有答案