Run Code Online (Sandbox Code Playgroud)$ adb --help
...
Run Code Online (Sandbox Code Playgroud)-s SERIAL use device with given serial (overrides $ANDROID_SERIAL)
...
Run Code Online (Sandbox Code Playgroud)$ adb devices List of devices attached emulator-5554 device 7f1c864e device
...
Run Code Online (Sandbox Code Playgroud)$ adb shell -s 7f1c864e error: more than one device and emulator
?
我希望能够获得已安装的Android应用程序的Linux UID(用户ID).
安全和权限摘录:"在安装时,Android为每个软件包提供了一个独特的Linux用户ID.在该软件包的生命周期内,该标识保持不变."
有没有办法检索这个UID?