How to pass command line options to the emulator in Android Studio?

前端 未结 3 1191
暗喜
暗喜 2021-01-07 16:29

I use Android Studio 2.1.3. When I run an Android app I pick an AVD, where can I pass command line options such as -http-proxy? I don\'t even find a way in the

3条回答
  •  广开言路
    2021-01-07 16:54

    You can set emulator start parameters in an environment variable studio.emu.params; they will be added to the command line when AS starts the emulator, see source code.

    Tested on Windows with AS 4.1 and set studio.emu.params=-writable-system.

提交回复
热议问题