主要是在DDMS没有root权限,这可可以用ADB 查看,首先进入CMD 在一adb的root角色进入data/data/ ,然后进入应用程序文件下,浏览share_prefes.xml文件即可
# this progress is to see the share_preferencs
cmd
adb shell
# step in datbase files data/data by root roles su(super user)
su
cd data/data
# step in process packages
cd com.example.base
# check or browerst the xml files
cat com.example.base/shared_prefs.xml