So, just as question states. Android device monitor is not showing anything in the File Explorer view. This is only occuring on Virtual Devices running Android API Level 24+.
A temporary solution, which worked at least for my needs, was to install file manager .apk (I used Astro file manager .apk) - just drag/drop .apk to emulator window.
Another very useful utility - ImDisk - which let's mount sdcard .img of virtual device. If you mount it as readonly ejectable device, you can have realtime access to virtual device file system
It probably has to do with the new Android folder permissions. As posted in another answer you can use:
root@mypc ~ $ adb root
to gain root access to your emulator (no need to restart the adb). Then you can see all the folders on the device with DDMS file explorer or through the shell. The other option is to wait for a new file explorer that was promised in version 2.4 of Android Studio.
If you need to refresh the gallery after that as I did you could use:
Try some methods:
A workaround using the
adb
command line tool:Now you can browse through the file system using the linux
ls
command:A temporary solution, which worked at least for my needs, was to install file manager .apk (I used Astro file manager .apk) - just drag/drop .apk to emulator window. Another very useful utility - ImDisk - which let's mount sdcard .img of virtual device. If you mount it as readonly ejectable device, you can have realtime access to virtual device file system
It probably has to do with the new Android folder permissions. As posted in another answer you can use:
to gain root access to your emulator (no need to restart the adb). Then you can see all the folders on the device with DDMS file explorer or through the shell. The other option is to wait for a new file explorer that was promised in version 2.4 of Android Studio.
If you need to refresh the gallery after that as I did you could use:
This will simulate mounting of a SD card which will trigger media rescan.
This is bug in Android Device Monitor and has been reported to google.
According to Post this thread will be updated when the patch is released.
I also faced same problem in the Android Device Monitor.
The emulator we use is very high level like Nougat 24+, so to over come this, we have to just run emulator in level level i.e., Lollipop 22