more than one device and emulator
author : chi.lei@spreadtrum.com
--------------------------------------------------
通常遇到这种问题是由于您的PC上连接了手机数加上PC上运行的模拟器数的和大于1所致。
解决办法是:
先运行adb devices 罗列出所有device
然后在adb 命令后加-s 再加其他的操作.
比如运行adb shell logcat -s leichi.
打印TAG = "leichi"的log
那么在more than one device and emulator情况下可以这样:
pps/SRT$ adb devices
List of devices attached
emulator-5554 device
19761202 device
现在我要19761202设备的log则:
adb -s 19761202 shell logcat -s leichi
其他命令以此类推。adb -s 设备名 具体操作
more than one device and emulator相关推荐
- error: more than one device and emulator .
用adb install安装APK时候报error: more than one device and emulator错误: 情形1:原因是同时运行了两台设备, adb devices查看如下: 解 ...
- 安卓模拟器报错:Error while waiting for device: The emulator process for AVD Nexus_6P_API_30 has terminated.
一.问题描述 之前进行安卓开发时经常(频率非常高)碰到AndroidStudio的一种报错,报错信息如下: Error while waiting for device: The emulat ...
- 使用adb install 时 提示error: more than one device and emulator
第一种情况 : 确实用多个设备或者模拟器 解决办法 :(指定连接某一个设备或者模拟器) 1.获取模拟器/设备列表 adb devices 2.指定device来执行adb shell ...
- Error while waiting for device: The emulator process for AVD Pixel_API_30 has terminated.
报错信息 运行设备时错误:模拟器的进程终止了. 解决方案 1.File-->Setting-->Android SDK,看看这两项有没有安装,像下面这样就是安装好的. 2.在系统环境变量中 ...
- Error while waiting for device: The emulator process for AVD Pixel_2_XL_API_28 was killed.
报错信息 解决方案 1.找到你的SDK文件夹,然后鼠标放到上面的框中,复制你的SDK路径. 2.在系统变量中添加变量.变量名为:ANDROID_SDK_HOME,变量值为:你SDK文件夹的路径 3.然 ...
- 运行adb 命令提示more than one device/emulator
当我连着手机充电的时候,启动模拟器调试,执行ADB指令时,报错. C:\Users\gaojs>adb shell error: more than one device and emulato ...
- MonkeyRunner 的使用一
MonkeyRunner的使用 如果您的英语不错那您可以自己看官网的介绍,如果您需要翻译,其实网上有很多很好的翻译,但是为了学习的完整性,自己还是做了一些重复性的劳动. http://develope ...
- 安卓平台运行python_在 android 上运行 python 的方法
android官方目前没有支持在android设备运行python,但是网上有一些项目组做了这个事情:http://geeknizer.com/install-run-python-apps-scri ...
- visual studio 2017 创建 android 本地共享库(.so) 并从 C# android 项目中调用
Developing Xamarin Android Native Applications ★★★★★ ★★★★ ★★★ ★★ ★ February 23, 2015 by Ankit Asthan ...
- python程序在安卓上如何运行-在 android 上运行 python 的方法
在android上运行python脚本,或者在android上使用python交互界面,对熟悉python的研究或开发人员来说,是一件很有吸引力的事情,因为python脚本真是非常高效,另外,有很多非 ...
最新文章
- 无法通过windows installer服务安装此安装程序包。您必须安装带有更新版本windows Installer服务的Windows
- 瑞幸咖啡百万大咖活动 记人生第一次豪赌,净赔了200元钱。
- linux远程登录ssh免密码配置方法
- boost::geometry::is_convex用法的测试程序
- python如何去掉字符串‘\xa0’
- java 链接mysql 产生500W数据模拟生成环境
- [小米OJ] 4. 最长连续数列
- websocket 获取连接id_Swoole学习笔记七:搭建WebSocket长连接 之 使用 USER_ID 作为身份凭证...
- docker技术之基本命令
- 我们可以拥有多少级指针?
- 工作随笔,一个java开发的一感慨
- python中forward的参数_pytorch forward两个参数实例
- 蓝牙RFCOMM协议
- 数学建模MathType输入平方的三种模式
- PAT难题精选题汇总,代码保存下来以供自己学习
- 使用Arduino控制TB6600步进电机驱动器教程(更新于 2022.03.19)
- 深蓝学院-视觉SLAM理论与实践-第十二期-第3章作业
- oracle gbk ebcdic,文件编码 ANSI、GBK、GB2312、MS936、MS932、SJIS、Windows-31 、EUC-JP 、EBCDIC 等等之间的区别与联系...
- 欧氏距离与余弦距离的关系
- 冷笑话大集合,越往后越冷哦