Android Studio 3(所有版本) - 设备文件浏览器没有显示 [英] Android Studio 3 (All Versions) - Device file explorer nothing to show
问题描述
在 Android Studio Preview 3 中打开 Device file explorer
窗口时,我看不到设备的文件(有一条消息Nothing to show").
我搜索了很多这个主题,但找不到与此问题相关的任何内容.
When opening the Device file explorer
window in Android Studio Preview 3, I don't see the device's files (There is a message "Nothing to show").
I searched this topic a lot but couldn't find anything that is relevant to this issue.
我正在使用我的测试设备:
运行 Android OS 6 (API 23) 的 Android Galaxy S5 - Root
Android Galaxy S5 running Android OS 6 (API 23) - Rooted
我使用的 Android Studio 的具体版本是:
Android Studio 3.0 Beta 6
Build #AI-171.4333198,建于 2017 年 9 月 13 日
JRE:1.8.0_152-release-915-b01 amd64
JVM:JetBrains s.r.o 的 OpenJDK 64 位服务器虚拟机
Windows 10 10.0
Android Studio 3.0 Beta 6
Build #AI-171.4333198, built on September 13, 2017
JRE: 1.8.0_152-release-915-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
知道如何解决这个问题吗?
Any idea's how to solve this issue?
推荐答案
在为此苦苦挣扎了一天后,我的答案是禁用我的 Android 设备上 ADB shell 的超级用户权限.
After struggling with this for a day, the answer for me was associated with disabling SuperUser permissions for the ADB shell on my Android Device.
如果您已经植根设备并使用 SuperSU 等应用程序,请尝试在应用程序视图列表中禁用 ADB shell 的 SU 权限.
If you have rooted your device and are using an app like SuperSU, try disabling the SU permission for ADB shell in the apps view list.
- 首先断开您的 Android 设备与运行 Android Studio 的计算机的连接
- 在您的 Android 设备上打开 SuperSU 并选择应用程序标签.
- 点击 ADB shell 并选择 Access:'deny'
- 使用 USB 数据线将您的设备重新连接到开发计算机
- 在 Android Studio 中打开设备文件资源管理器".
您现在应该会看到设备上的文件列表,包括/data/data/及其子文件夹中的文件
You should now see a list of files on the device, including files in /data/data/ and its subfolders
您会认为拥有 SU 权限是一件好事:但在这种情况下,不是.
You would think that having SU permissions would be a good thing: but in this case, no.
在 SuperSU 中禁用 ADB shell 的 SU 权限
这篇关于Android Studio 3(所有版本) - 设备文件浏览器没有显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!