Android 多模拟器使用adb shell
2011-04-22 15:34
399 查看
开启多模拟器时使用adb shell无法进入android,会报error: more than one device and
emulator错误。
这个时候使用: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地址都是相同的。
emulator错误。
这个时候使用: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地址都是相同的。
相关文章推荐
- Android 模拟器使用Fiddler抓包
- 跟Android自带模拟器说拜拜,Mac Genymotion 使用心得
- 跟Android自带模拟器说拜拜,Mac Genymotion 使用心得
- Android第三方模拟器使用:bluestracks和Genymotion
- Android开发中使用adb shell命令出现sqlite3 : not found 问题
- android 模拟器 使用键盘的配置
- android中的View.OnClickListener 怎么使用?我的2.3.3的模拟器不能运行啊?
- 入门——android 模拟器的使用
- android真机调试时使用adb shell命令 windows
- 使用android超强模拟器Genymotion
- android adb shell 命令使用记录
- android 模拟器使用intel硬件加速
- android adb shell的使用(转)
- 使用 Intel HAXM 为 Android 模拟器加速,媲美真机
- Android-studio+Genymotion模拟器的联合使用
- android 模拟器AVD方向键无法使用的解决方案
- 使用Genymotion作Android开发模拟器:安装Genymotion、部署Genymotion Vitrue Device、安装Genymotion eclipse插件
- Android模拟器常用命令的使用
- pc上使用有root权限的adb shell命令来操作android手机
- android中使用adb shell命令kill掉应用程序