Android adb:“more than one device/emulator“解决办法

文章目录

问题

c 复制代码
adb.exe: more than one device/emulator

原因就是当前已经连接多台设备。

解决办法

列出所有设备

c 复制代码
adb devices

如下:有多个设备

c 复制代码
List of devices attached
2270000938      device
172.16.29.22:5555       device

先选择设备,再进行命令

选择一个设备,后面加上需要操作的命令即可:

添加-s和设备名

c 复制代码
adb -s 设备名 命令

下面以查看cpu架构为例:

c 复制代码
adb -s 172.16.29.22:5555 shell getprop ro.product.cpu.abi

输出:

c 复制代码
armeabi-v7a
相关推荐
时间的拾荒人1 小时前
MySQL C语言连接 - 从入门到实战
android·c语言·mysql
Meteors.1 小时前
Android性能优化:01. 指标体系 + 分析工具链
android
jike_20262 小时前
安卓平台免费录音转文字工具深度测评:5 款 APP 功能对比与选型指南
android·智能电视
Code Man3 小时前
Windows 下使用 Appium
android·windows·appium
码农coding3 小时前
android 12 中的VSYNC接收
android
GitLqr3 小时前
Flutter 3.44 性能飞跃:深度解析 Android Platform View 的 HCPP 新特性
android·flutter·性能优化
码农coding3 小时前
android 12 SurfaceFlinger中的CompositionEngine
android
Mem0rin4 小时前
[MySQL] 聚合函数、分组查询、连接查询
android·mysql
码龙-DragonCoding5 小时前
一键批量提取音频、提取视频
android·音视频·提取
祉猷并茂,雯华若锦5 小时前
Win下完美解决Allure报错,生成Web自动化测试报告
android·python·selenium·自动化