I have just learnt using preferences
in Android. For debugging purpose I need to access the preferences files. I googled and found the default location of the p
Root your device and open adb shell and change the permissions as:
$ adb shell
$ su
1|root@android:/ # chmod -R 777 data/
Finally I found how to make it work.
goto run -> location where your adb is
Ex: C:\Program Files (x86)\Android\android-sdk\platform-tools
type adb root
, Enter
(Your phone must have root)
If this doesn't work, install this app on your phone: [root] adbd Insecure or its free alternative here (update: link broken now).
Get more info at http://forum.xda-developers.com/showthread.php?t=1687590
You will need either to use the emulator or to have a rooted phone to use all functionalities.