Android 多模拟器使用adb shell

2014-11-24 08:42:13 来源: 作者: 浏览: 1

这个时候使用:adb devices查看加载的设备,


比如返回结果为:List of devices attachedemulator-5554 deviceemulator-5556


device在使用 adb -s [设备] [命令]执行命令,


比如:adb -s emulator-5554 shell进入shell后使用getprop命令获取系统信息其中的[net.gprs.local-ip]: [10.0.2.15]即为模拟器的ip地址这里值得注意的是,多个模拟器ip地址都是相同的。


-->

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: