2

如何让 android 模拟器在 jenkins 上运行以进行测试(MacOSX 服务器)?我已经尝试过该插件,给出了同样的错误(是的,我没有选中“显示窗口”),所以我在构建期间在 jenkins 上执行了我自己的 shell 脚本,我得到了同样的错误。为什么当我有 -no-window 时它甚至关心 WindowServer,这是没有意义的。如果这是权限问题,为什么我没有收到错误 WindowServer 权限错误?我的控制台输出:

./android create avd -n testEmu -t 14 -c 2000M
./emulator -avd testEmu -no-skin -no-audio -no-window

_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
2014-07-03 15:45:16.295 emulator64-arm[6408:d07] invalid CoreGraphics connection
2014-07-03 15:45:16.296 emulator64-arm[6408:d07] invalid CoreGraphics connection
2014-07-03 15:45:16.296 emulator64-arm[6408:d07] invalid CoreGraphics connection
2014-07-03 15:45:16.296 emulator64-arm[6408:d07] invalid CoreGraphics connection
2014-07-03 15:45:16.297 emulator64-arm[6408:d07] invalid CoreGraphics connection
2014-07-03 15:45:16.297 emulator64-arm[6408:d07] invalid CoreGraphics connection
2014-07-03 15:45:16.297 emulator64-arm[6408:d07] invalid CoreGraphics connection
2014-07-03 15:45:16.297 emulator64-arm[6408:d07] invalid CoreGraphics connection
2014-07-03 15:45:16.298 emulator64-arm[6408:d07] invalid CoreGraphics connection
2014-07-03 15:45:16.298 emulator64-arm[6408:d07] invalid CoreGraphics connection
2014-07-03 15:45:16.298 emulator64-arm[6408:d07] invalid CoreGraphics connection
2014-07-03 15:45:16.298 emulator64-arm[6408:d07] invalid CoreGraphics connection
2014-07-03 15:45:16.298 emulator64-arm[6408:d07] invalid CoreGraphics connection
2014-07-03 15:45:16.298 emulator64-arm[6408:d07] invalid CoreGraphics connection
2014-07-03 15:45:16.299 emulator64-arm[6408:d07] invalid CoreGraphics connection
2014-07-03 15:45:16.299 emulator64-arm[6408:d07] invalid CoreGraphics connection
Failed to create Context 0x3005
emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
4

0 回答 0