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+.
Till Android Lollypop emulators, we can access the file explorer folders. If the emulator is created with marshmallow or higher, we cant access the file explorer. May be this is bug from API level 24+.
I had this problem with Api 27 (Oreo). I tried to create emulator with Lollipop but same as with Oreo. Device monitor was empty.
After restarting computer everything was normal. This is solution for many problems that comes with Android Studio. First check this, than everything else.
Till Android Lollypop emulators, we can access the file explorer folders. If the emulator is created with marshmallow or higher, we cant access the file explorer. May be this is bug from API level 24+.
Another temporary solution is to use the adb shell
First, copy the database to the sdcard
Then, pull the database file to your computer
As another workaround, I use
fileList()
to get all the files in theFiles
folder of my app and log it to logcat:It is also possible to get the files and directories in your
cache
folder as well:Or
Its an alternative way.
Create a bat file configure the APP_NAME, Example (com.example.com)
DESTINATION_FOLDER (myProjectFiles)
After Configuring your bat file run it by double clicking . it will do the rest
I had this problem with Api 27 (Oreo). I tried to create emulator with Lollipop but same as with Oreo. Device monitor was empty.
After restarting computer everything was normal. This is solution for many problems that comes with Android Studio. First check this, than everything else.