有什么方法可以在 Android Debug Bridege Shell 中获取或查看所有设备的属性?
如我所见,adb-shell 仅显示和检索当前会话的已连接设备的当前进程。
我只是想知道有一个 adb-shell 脚本命令可以查看该设备的所有技术产品信息。我计划创建一个 Android 虚拟设备配置文件,但我没有关于该设备的任何技术信息。但是,如果我可以从 adb 获取这些信息,那么我将能够创建该配置文件来构建和运行 Android 应用程序。
To see all connected devices, you can type adb devices
To get the serial number, you can type adb serialno
Also, adb status-window
opens a window with constant monitoring of the device
More crazy:
adb shell pm list features
shows a list of features the device has
adb shell pm list users
shows a list of users the device has (needs root)
You can't really get things like screen resolution etc through ADB unfortunately.