Run Android without GUI (headless Android) [closed]

匿名 (未验证) 提交于 2019-12-03 02:51:02

问题:

I read a lot of documents and instructions regarding how to run emulator without GUI(headless Android).

But I didn't find instructions that explain all the steps.

Can someone elaborate all the steps?

Thanks.

回答1:

From: http://paulemtz.blogspot.com/2013/05/android-testing-in-headless-emulator.html

Then, to run the headless emulator:

emulator -avd test -no-skin -no-audio -no-window 

The '-no-skin' option removes the emulator buttons such as the home and other hardware keyboard buttons.

The '-no-audio' option disables the audio support.

Finally, the '-no-window' option disables the emulator's graphical window display.

Note that -avd test would need to be modified to refer to your specific emulator image (AVD).



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