Android Emulator plugin not working in Jenkins

六月ゝ 毕业季﹏ 提交于 2019-12-04 09:08:55

The path shown in the second case suggests that you may be running Jenkins as a system service.

In which case, you could try the workaround listed under "Known Issues" on the Android Emulator Plugin wiki page:

Running in a Windows service as "Local System"
New AVDs cannot be generated and run if Jenkins is running as a Windows service, using the "Local System" account (see issue #7355).

Workaround: configure the Jenkins service to "run as" a real user


If that doesn't solve the problem, can you tell us in which directory AVDs are placed when you create them manually? You can find out by running emulator with the -verbose flag. Within the first few lines you should see something like:

emulator: Android virtual device file at: c:\users\foo\.android\avd\emu_4.0.3.ini

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!