adb shell
run-as com.example.android //对应包名   

ls查看当前目录下的所有文件,找到shared_prefs

cd shared_prefs

ls 查看所有的 sharedpreferences 文件 
cat 查看指定的SP 
cat XXX.xml

步骤如图: 
Android adb命令查看sharedpreferences

相关文章:

  • 2021-06-16
  • 2021-04-27
  • 2022-02-21
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-17
  • 2022-12-23
  • 2021-11-23
  • 2021-07-25
  • 2022-01-13
  • 2022-01-30
  • 2021-12-02
相关资源
相似解决方案