adb命令查看当前用户

执行 adb shell pm list users

可以看到

Users:
UserInfo{0:name:13} running


其中 0 表示 user Id, 这条记录表示当前正在运行的帐号的 user id 是0,用户名是 name。


原文链接:https://blog.csdn.net/starhosea/article/details/79052055

adb shell pm list users

猜你喜欢

转载自www.cnblogs.com/coxiseed/p/12191950.html