安卓上的UID是什么?
它是特定用户的 ID 还是特定应用程序的 ID?
If you're referring to this UID http://developer.android.com/reference/android/os/Process.html#myUid%28%29: Android is based on Linux, so basically it's the same UID you have on a Unix-like OS. When installing an app / package, Android by default[1] creates a UID specifically for that package, so that it can have its private resources / storage space. When no packages are using that UID any more (which could be shared), the UID is deleted.
1. 您可以使用以下命令覆盖此行为android:共享用户ID http://developer.android.com/guide/topics/manifest/manifest-element.html#uid,但它有一些缺点 https://stackoverflow.com/questions/5529846/androidprocess-and-process-name/5530160#5530160.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)