-1

enter image description here

any idea Where i can find "PrefName"

Nerdroid
  • 13,398
  • 5
  • 58
  • 69
  • 1
    Please read [How to ask](https://stackoverflow.com/help/how-to-ask) guide. Also, It is better to post your code rather than providing a link, it is not common to open anonymous links. – ndrwnaguib Dec 19 '17 at 21:43

1 Answers1

0

Simulator

Tools->Android->Android Device Monitor, you will see this:

enter image description here

SharePreferences file's path is:/data/data/your_package_name/shared_prefs/your_file_name.

Physical Device

It is same as Simulator. You need root your device otherwise you have no permission to see these files in your file management.

I always see it on Simulator which Api is 21, higher will also have no permission. So I suggest you create a simulator(api is 21), it will provide convenience for you test.

Community
  • 1
  • 1
Robbit
  • 4,300
  • 1
  • 13
  • 29