问题
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 preference file and also how to access it via Android Device Monitor.
Somehow I am not able to open any folders under the File explorer tab of the Android device monitor. They just aren't responding. I tried waiting for ADM to load and tried again but no success. (Double click on folder is not working, STRANGE!)
Do we need to configure before using it? I am using Android studio. Any help would be appreciated. Attaching image
回答1:
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
回答2:
You will need either to use the emulator or to have a rooted phone to use all functionalities.
回答3:
Root your device and open adb shell and change the permissions as:
$ adb shell
$ su
1|root@android:/ # chmod -R 777 data/
来源:https://stackoverflow.com/questions/32275988/android-studio-android-device-monitors-file-explorer-not-working