通过Android设备监视器,我无法在我的模拟器android 7 Nougat中找到任何文件。
即使在选择设备之后,它也会显示空文件浏览器。
终端只能通过adb shell
$ adb shell
adb server is out of date. killing...
* daemon started successfully *
generic_x86:/ $ ls
ls: ./ueventd.rc: Permission denied
ls: ./ueventd.ranchu.rc: Permission denied
ls: ./ueventd.goldfish.rc: Permission denied
ls: ./service_contexts: Permission denied
ls: ./sepolicy: Permission denied
ls: ./selinux_version: Permission denied
ls: ./seapp_contexts: Permission denied
ls: ./init.zygote32.rc: Permission denied
ls: ./init.usb.rc: Permission denied
ls: ./init.usb.configfs.rc: Permission denied
ls: ./init.rc: Permission denied
ls: ./init.ranchu.rc: Permission denied
ls: ./init.goldfish.rc: Permission denied
ls: ./init.environ.rc: Permission denied
ls: ./init: Permission denied
ls: ./fstab.ranchu: Permission denied
ls: ./fstab.goldfish: Permission denied
ls: ./file_contexts.bin: Permission denied
ls: ./default.prop: Permission denied
acct charger d dev mnt proc root sdcard sys vendor
cache config data etc oem property_contexts sbin storage system
可以通过Android设备监视器访问的请求指南。
操作系统:Ubuntu 16.04
android studio:2.2.2
Android设备监视器:25.2.2
答案 0 :(得分:0)
$ adb shell
generic_x86:/ $ su
generic_x86:/ $ ls
我,e switch
到root
用户它可以运作