Android Studio - Android Device Monitor's File explorer not working

情到浓时终转凉″ 提交于 2019-12-18 05:01:46

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!