android studio 3.0 设备资源管理器 - 运行为 : could not set capabilities: Operation not permitted

标签 android android-emulator android-studio-3.0 android-device-explorer

我迁移到 android studio 3.0。我听说了 android studio 3.0 中新设备资源管理器的功能。但是当我连接我的 android 手机(三星 Note 4 - N910C)时,我在设备资源管理器中看不到数据\数据包子文件夹,如数据库文件夹。但是当使用 android 模拟器时我没有问题并且可以看到同一个包的包子文件夹。我该如何解决这个问题?

Samsung N910C Device Explorer

Android Emulator Device Explorer

最佳答案

听起来 ADB 的 run-as 命令中存在错误。根据this bug , 'run-as' 失败。无法设置功能:不允许操作 意味着 Android Studio 无法设置提升的权限来读取应用目录的内容。

对该错误的评论表明三星经常在其设备上破坏该功能。

关于android studio 3.0 设备资源管理器 - 运行为 : could not set capabilities: Operation not permitted,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47390411/

相关文章:

android-studio-3.0 - Android 键盘 (AOSP) 一直停止使用 Android O 模拟器

java - 使用来自另一个类/Activity 的适配器

android - 如果我使用 itext 库 jar,则会出现 Proguard 错误

android - 使用 Android 中每个列表项中的删除按钮删除由 SQLite 数据库填充的 ListView 中的项目

android - 等待设备 : The emulator process for AVD . 时出错 ... 被杀死

android - 无法在 Linux 上使用命令行工具运行 Android 模拟器(PANIC : Broken AVD system path.)

Android Studio 缓慢的增量构建

android - ADB 启动失败确保插件配置正确

android - 2.3版本和4.2版本的透明编辑 TextView 不同

android - 不支持的方法 : BaseConfig. getApplicationIdSuffix()