I\'m using shared preferences to store certain values for my app. I would like to see the file where the info is actually stored on my phone. I found many ways to do this on
To open shared preference
in android studio
Open device explorer file from right side- data>data> >shared_prefs
find the attached image for more description
I always find these commands useful in console:
Find the correct file name
adb shell
ls /data/data/com.your.package/shared_prefs
Get the file to local directory
adb pull /data/data/com.your.package/shared_prefs/the_file_you_want $local_dir
Check it in your $local_dir
.