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

前端 未结 14 1020
甜味超标
甜味超标 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:23

    In Android Studio 3:

    • Open Device File Explorer (Lower Right of screen).
    • Go to data/data/com.yourAppName/shared_prefs.

    or use Android Debug Database

提交回复
热议问题