1

I have a Google Nexus 7, and I've been developing on it. Only recently, however, have I become unable to access the /data/ directory using the file browser in eclipse. The device was never rooted, but now since I upgraded it, I believe that I have lost access to this. Is there any way to get eclipse to use the "run-as" command to access my app's data directory? How come I have suddenly lost access to this?

Is the only option left to root the device?

Thanks

4

2 回答 2

1

有什么方法可以让 eclipse 使用“run-as”命令访问我的应用程序的数据目录?

AFAIK,您没有什么可以“以”方式运行,这对您有帮助。

我怎么突然失去了访问权限?

首先,您不应该访问它。如果你这样做了,那是设备中的一个安全漏洞,也许可以通过固件升级来修复。

唯一的选择是根设备吗?

您无法浏览/data/生产硬件上的目录。例如,您可以/data/在模拟器上浏览。

于 2012-10-29T22:28:37.223 回答
0

我可以通过安装 apk 来授予 root 权限。 http://gadgets.ndtv.com/mobiles/features/how-to-root-nokia-x-and-get-access-to-google-play-store-and-google-now-508391

于 2014-04-16T09:11:15.000 回答