webstorm 运行android,How to run Android Virtual Device in WebStorm

solution

Finally, with the help of "Martin Zeitler", I succeeded in doing this in the following way:

In webstorm select File>settings, in search bar type "External Tools" select "External Tools", in "tools" section click on plus icon (add) fill this window like my parameter:

Name: android avd

*as you like

Program: C:\Users(your user name)\AppData\Local\Android\Sdk\emulator\emulator.exe

*this is your emulator.exe address and this is the default address, you have to replace (your user name) with your system user name or change the address for locating to your emulator.exe address

Arguments: -avd Nexus_5X_API_23

*Nexus_5X_API_23 is a sample you have to type your emulator name that you create it before in android studio

Working directory: C:\Users(your user name)\AppData\Local\Android\Sdk\emulator

*like Program address but without emulator.exe

click ok

now in webstorm in tools menu in External Tools section you can find android avd or your custom name. by click on it you can run your emulator from webstorm.

finally you don't need android studio at all , you can run it from webstorm.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值