我希望能够获取已安装 Android 应用程序的 Linux UID(用户 ID)。
摘自Security and Permissions :“在安装时,Android 会为每个包提供一个不同的 Linux 用户 ID。该标识在包在该设备上的整个生命周期内保持不变。”
有没有办法检索这个 UID?
最佳答案
adb shell dumpsys 包 com.example.myapp | grep userId=
关于android - 获取Android App的Linux UID,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6123434/