How can I view the shared preferences file using Android Studio?

前端 未结 14 1032
甜味超标
甜味超标 2020-11-27 11:33

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

14条回答
  •  难免孤独
    2020-11-27 12:20

    Another simple way would be using a root explorer app on your phone.

    Then go to /data/data/package name/shared preferences folder/name of your preferences.xml, you can use ES File explorer, and go to the root of your device, not sd card.

提交回复
热议问题