Android Studio模拟器参数 [英] Android Studio emulator parameters

查看:249
本文介绍了Android Studio模拟器参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android Studio使用以下命令行启动模拟器:

Android studio launches emulator with such command line:

/Users/sergey/Library/Android/sdk/tools/emulator -avd Nexus_5_API_22_x86 -netspeed full -netdelay none

/Users/sergey/Library/Android/sdk/tools/emulator -avd Nexus_5_API_22_x86 -netspeed full -netdelay none

如何添加其他选项?我需要指定 -http-proxy 命令行参数

How do I add additional options? I need to specify -http-proxy command line parameter

推荐答案

首先,从终端运行仿真器:

First, run the emulator from the terminal:

/Users/sergey/Library/Android/sdk/tools/emulator -avd Nexus_5_API_22_x86-您需要的所有参数"

/Users/sergey/Library/Android/sdk/tools/emulator -avd Nexus_5_API_22_x86 -"all parameters you need"

然后,按一下Android Studio中的运行"按钮.选择您的设备,该设备已经在运行.您的应用程序将在那里部署.

Then, clic on the run button in Android Studio. Select your device, that is already running. Your app will deploy there.

这篇关于Android Studio模拟器参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆