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
This is an old post, but I though I should put a graphical answer here as the question is about viewing the SharedPreferences.xml using Android Studio. So here it goes.
Go to the Tools -> Android Device Monitor. Open the device monitor by clicking it.
Then you need to select the File Explorer tab in the device monitor. Find the data folder and find another data folder inside it. It will contain a folder having the name of your application package and there will be the desired SharedPreferences.xml.
Select the SharedPreferences.xml file and then pull and save the file in your computer using the button marked at the top-right corner of the image above.
I've used a device emulator.