1、打开eclipse
2、打开MuMu模拟器
3、去到MuMu模拟器 adb_server.exe 文件所在目录:(我的:I:\Android\mumu\emulator\nemu\vmonitor\bin> .\adb_server.exe connect 127.0.0.1:7555 )
MuMu模拟器安装目录\mumu\emulator\nemu\vmonitor\bin
4、按住Shift + 单击右键 ---》打开PowerShell窗口“ 在打开的窗口中输入 :
.\adb_server.exe connect 127.0.0.1:
如果出现以下提示表示连接成功:
> .\adb_server.exe connect 127.0.0.1:7555
adb server is out of date. killing...
* daemon started successfully *
connected to 127.0.0.1:7555
5、连接调试:打开eclipse -> windows -》打开 perspective ->DDMS 或
- 在Eclipse上, 点击 Window > Open Perspective > Other... > DDMS. 即可启动DDMS.
- 或者运行命令行
ddms
(or./ddms
on Mac/Linux) from thetools/
directory.
(或如下图所示: