Click here to Skip to main content
15,908,020 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My file explorer in Android Monitor is empty in Android Studio.
How to view the files ?

What I have tried:

I am doing a contact Application. And Am writing the data into a file, I want to view the data from that file. But when I open the file explorer it is empty.
What should I do ?
Posted
Updated 11-Dec-16 20:09pm
Comments
Richard MacCutchan 5-Dec-16 6:28am    
What you should do is provide proper details of your problem. Where is the file saved and how does your application reference it? If it is an internal file then it will not be seen in file explorer. You should be able to get to it by using adb on your device.
GaneshRfromSpace 5-Dec-16 6:42am    
The problem is not with the application I created. It is with the Android Studio IDE which I use. I have connected a virtual emulator (Nexus 5 API to be precise). I build the code. The code runs properly, I could access my application in the emulator normally. I wanted to pull the file in which I stored my contacts data (name and number). So I opened the Android Device Monitor in the Tools option of Android Studio. But the File explorer pane is blank. It is not displaying any files or folders. Should I enable anything to view all the files and folders ?

 
Share this answer
 
Comments
GaneshRfromSpace 12-Dec-16 2:17am    
I browsed your links and found that, this is a bug with respect to Android 24 and 25 APIs.
ridoy 12-Dec-16 13:48pm    
Good find, an upvote for that!
Apparently the solution to my question is No Solution till date.

Quote:
Android Device Monitor is not able to display the file contents for Emulators targeting Android 24 or 25. It is however able to show file contents for Emulators targeting Android 23.



Developers have filed bug reports.

1.
Issue 229628 - android - Android Device Monitor fails to show files for Android 24 and 25 emulators - Android Open Source Project - Issue Tracker - Google Project Hosting[^]

2.
Issue 225049 - android - Device Manager File Explorer Empty in Nougat (24) Emulator AVD - Android Open Source Project - Issue Tracker - Google Project Hosting[^]

3.
Issue 226984 - android - “Android Device Monitor” does not show file list for emulator in the “File Explorer” tab. - Android Open Source Project - Issue Tracker - Google Project Hosting[^]

So if anybody is facing this issue, use emulators targeting Android 23 or its previous versions..
 
Share this answer
 
I restart my Android studio (run as administrator) then it works again, the content of the device storage appear again.
Hope this helpful
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900