Android Studio 3(所有版本)-设备文件资源管理器无显示 [英] Android Studio 3 (All Versions) - Device file explorer nothing to show

查看:444
本文介绍了Android Studio 3(所有版本)-设备文件资源管理器无显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Android Studio Preview 3中打开Device file explorer窗口时,我看不到设备的文件(有一条消息什么也没显示").
我搜索了很多这个主题,但是找不到与此问题相关的任何内容.

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-已扎根

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位服务器VM
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.

  1. 首先从运行Android Studio的计算机上断开您的Android设备
  2. 在您的Android设备上,打开SuperSU,然后选择应用程序"标签.
  3. 点击ADB shell并选择Access:'deny'
  4. 使用USB电缆将设备重新连接到开发计算机
  5. 在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆