View the data in the /data/data/package name directory

  • If the phone is rooted

You can view it directly through the Device File Explorer of android studio; the files under the package name can be viewed. The files
Insert picture description here
under any package under dada/data/ can be viewed.
Insert picture description here

  • Phone is not rooted

1. If the app corresponding to the package is a debug package, it can be viewed directly through android studio (the following commands are actually executed at the bottom layer);

adb shell
run-as com.test.a

Insert picture description here

2. If the app corresponding to the package is not a debug package, then it will prompt run-as: package not debuggableInsert picture description here

Guess you like

Origin blog.csdn.net/nongminkouhao/article/details/113991356