View the shared preferences file using Android Studio

Copied from https://stackoverflow.com/a/25585711/2722270, https://developer.android.com/studio/debug/device-file-explorer

From Android Studio , start Android Device Monitor, go to File Explorer, and browse:

/data/data/<app.package.name>/shared_prefs/

You will find the XML there and also you can copy it for inspection.