Eclipse 使用 VS Emulator for android 调试环境配置 步骤

模拟器启动器地址:C:\Program Files (x86)\Microsoft Emulator Manager\1.0\emulatorcmd.exe 获取模拟器ID命令:emulatorcmd.exe /sku:android list /type:device

第一步:Run -> Debug Configurations...  ->  Android Application, 选中“Always prompt to pick device”,点击 "Apply"。

第二步:Run -> External Tools -> External Tools Configurations...    在 "Program" 里新建一个配置, 起个名字,把上面的 “模拟器启动位置”填写到Location中 ,然后在“运行”中执行执行"cmd",然后输入上面的“获取模拟器ID命令”,结果中第一列就是ID。 在底下的“自变量”中输入类似“/sku:Android launch /id:3207E9FF-43A9-4D76-890A-8C585C4D88E0”内容。

大功靠成。

posted on 2018-03-30 14:58  空明流光  阅读(477)  评论(0编辑  收藏  举报

导航