Android Studios:Android 设备管理器在文件资源管理器中不显示 Nougat 7.0 的文件 [英] Android Studios: Android Device Manager shows no files for Nougat 7.0 in File Explorer

查看:32
本文介绍了Android Studios:Android 设备管理器在文件资源管理器中不显示 Nougat 7.0 的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在学习如何将数据库 (SQLite) 集成到我的应用中.

I'm learning how to integrate databases (SQLite) into my app.

我查看了这个教程,在 10m 处,OP 进入了 Android 中的 FileExplorerAndroid Studio 中的设备管理器.

I checked out this tutorial and at the 10m mark, OP enters the FileExplorer in Android Device Manager in Android Studio.

在文件资源管理器中看不到任何文件.使用文件资源管理器是想要的结果.昨晚,我在阅读了这些 stackoverflow 对话但没有想要的结果后,根植了我的 Nexus 6p (7.0) 并重新安装了 Studio 2.2.2,这个问题有很长时间历史:

Can't see ANY files in the File Explorer. Using the File Explorer is the desired result. Last Night, I've Rooted my Nexus 6p (7.0) and reinstalled Studio 2.2.2 after reading these stackoverflow dialogues with no desired result, the issue has a long history:

1) Android 设备监视器数据"文件夹为空
如何查找我的应用程序的/数据/数据使用 Android Device Monitor 的文件资源管理器

-Rooted 手机 (6p) 在 FileExplorer 中不显示任何文件(已通过 Root Checker 验证)
- 模拟器在 FileExplorer 中不显示任何内容

-Rooted phone (6p) doesn't show any files in FileExplorer (Verfied with Root Checker)
-Emulator doesn't show anything in FileExplorer

2) 如何在Android中访问数据/数据文件夹设备?
如何在 Android 上查看 SQLite 数据库设备?
虽然设备已root,但无法访问SQLite数据库
Android Studio - Android 设备监视器的文件浏览器不工作
Android:文件资源管理器中不显示文件

a) adb shell
run-as com.your.packagename
安装损坏 - 也许是我

a) adb shell
run-as com.your.packagename
Has corrupt installation - maybe it's me

b) adb shell

chmod/data/data/data/data/data/com.application.package
错误模式'/data'
没有,在 FileExplorer 中不显示任何文件

b) adb shell
su
chmod /data /data/data /data/data/com.application.package
bad mode '/data'
Nothing, doesn't show any files in FileExplorer

c) adb shell

chmod 777/data/data/data/data/data/
没有,在 FileExplorer 中不显示任何文件

c) adb shell
su
chmod 777 /data /data/data /data/data/
Nothing, doesn't show any files in FileExplorer

d) adb shell

chmod -R 777 数据/
没有,在 FileExplorer 中不显示任何文件

d) adb shell
su
chmod -R 777 data/
Nothing, doesn't show any files in FileExplorer

3) 如何在真实设备中查看我的应用程序的 sqlite db 的内容?
没有,在 FileExplorer 中不显示任何文件

4) http://forum.xda-developers.com/nexus-6p/help/android-device-manager-7-0-nougat-t3454419
也许不仅仅是我,Nougat 7.0 出现了问题,但似乎同样的问题源源不断.

4) http://forum.xda-developers.com/nexus-6p/help/android-device-manager-7-0-nougat-t3454419
Maybe it's not just me, and something is wrong with Nougat 7.0, but there seems to be a continuous stream of the same issue.

任何帮助将不胜感激.我很想重新启动我的应用程序并尝试 IntelliJ 或 Eclipse,但我不确定这是否能解决我的问题.

Any help would be greatly appreciated. I'm tempted to restart my application and try IntelliJ or Eclipse but I'm not sure if that would solve my problem.

推荐答案

我没有任何问题(验证的好迹象)但是 针对 Android 24 或 25 的模拟器存在问题.

There's nothing wrong with me (good sign of validation) but a problem with the emulators targeting Android 24 or 25.

问题于 16 年 10 月重新报告:https://code.google.com/p/android/issues/详细信息?id=225049.相信谷歌会尽快解决这个问题.

Issue re-reported back in Oct '16: https://code.google.com/p/android/issues/detail?id=225049. Faith that Google will resolve this issue as soon as possible.

目前,解决方案是使用 API 23 运行模拟器,使用 Android 设备管理器访问包含数据的文件资源管理器应该没有问题.

For now, the solution is to run your emulator using API 23 and there should be no problem accessing the File Explorer with the data using Android Device Manager.

万岁!

这篇关于Android Studios:Android 设备管理器在文件资源管理器中不显示 Nougat 7.0 的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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