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
相关推荐
阿pin6 小时前
Android随笔-kotlin withContext
android·kotlin·withcontext
树码小子7 小时前
开启 IDEA 中的断言功能
android·java·intellij-idea
Android-Flutter8 小时前
android 动画详解
android·kotlin
小孔龙13 小时前
GraphicBuffer 跨进程共享
android
行业研究员14 小时前
Android内置GPS与腾讯地图定位技术对比分析
android·android定位·腾讯地图定位
Android-Flutter15 小时前
android WMS 详解(二)
android·kotlin
游戏开发爱好者815 小时前
App Store 上传 IPA 自动化,.p8 密钥认证与 CI/CD 接入实战
android·运维·ci/cd·小程序·uni-app·自动化·iphone
游戏开发爱好者817 小时前
iOS 推送怎么配置,APNs 推送证书、设备库与群发
android·ios·小程序·https·uni-app·iphone·webview
阿pin17 小时前
Android随笔-kotlin 高阶函数
android·kotlin·高阶函数
wxson72821 天前
【Android视频监控系统技术总结】
android·音视频