147

Can anyone tell where the file explorer is located in Android Studio?

I tried to search in windows menu but there isn't any option like "show view" that used to be in Eclipse.

0xCursor
  • 2,242
  • 4
  • 15
  • 33
viedee
  • 1,647
  • 2
  • 10
  • 10
  • Please change the accepted answer to [Codeversed's answer](https://stackoverflow.com/questions/17628670/file-explorer-in-android-studio/44203922#44203922). It's the correct method in Android Studio 3. – imgx64 Feb 26 '18 at 06:33

17 Answers17

156

You can start Android Device Monitor from the Android Studio (green robot icon on the toolbar, to the left of the help icon). From the ADM, select the device/emulator, then select the File Explorer tab.

Community
  • 1
  • 1
Alexander Kulyakhtin
  • 47,782
  • 38
  • 107
  • 158
93

Android Studio 3 Canary 1 has a new Device File Explorer

View -> Tool Windows -> Device File Explorer

So much better than DDMS and is the new improved way to get files off of your device!

Allows you to 'Open', 'Save As', 'Delete', 'Synchronize' and 'Copy Path'. Pretty awesome stuff!

Android Studio 3 Canary 1 - Device File Explorer

thanhbinh84
  • 17,876
  • 6
  • 62
  • 69
Codeversed
  • 9,287
  • 3
  • 43
  • 42
79

enter image description here

Then the Android Device Monitor window will pop up. Click on the emulator & File Explorer.

Shared Preference files should be in:

DDMS-> File Explorer ->data -> data -> MY_PACKAGE_NAME -> shared_prefs -> YOUR_PREFERENCE_NAME.xml

enter image description here

Gene
  • 10,819
  • 1
  • 66
  • 58
  • 11
    I am unable to get into /data. When I open it I get an empty folder. Permission? – Yetti99 Aug 22 '16 at 13:59
  • It is possible to open the files that I there. I could not find a way to say access preferences.xml from my application to show it's contents. – Andrew S Nov 04 '16 at 01:32
  • Click on the top right floppy disk picture with the red arrow going through it. Next to the red minus symbol. – Gene Nov 04 '16 at 19:37
  • There's no robot icon any more so thank you for that. – nasch Jan 20 '17 at 00:38
  • Screenshots were very helpful, especially as a beginner. Thanks! – AtAFork Feb 01 '17 at 06:25
  • Back in the day you didn't need to root your android phone in order to see the SharedPreference file. Now, I think you do. I would recommend actually rooting your phone via a tool like Kingo Root or download an Android Emulator that you can root. For example NOX emulator can be rooted. – Gene Sep 07 '17 at 04:56
  • 2
    Outdated in 2018 – Jonathan Aug 10 '18 at 21:22
37

it has changed and its docked to the right bottom of your android studio by default.

enter image description here

if you dont have that you can open it through view -> tool windows -> device file explorer

enter image description here

Amir Ziarati
  • 14,248
  • 11
  • 47
  • 52
27

This works on Android Studio 1.x:

  • Tools --> Android --> Android Device Monitor (this open the ADM)
  • Window --> Show View
  • Search for File Explorer then press the OK Button
  • The File Explorer Tab is now open on the View
BartoszKP
  • 34,786
  • 15
  • 102
  • 130
12

Android Device Monitor is a part of ANDROID SDK.

You can found it here: C:\android-sdk\tools\lib\monitor-x86\monitor.exe or C:\android-sdk\tools\lib\monitor-x86_64\monitor.exe.

Run it for monitring or exploring files on the AVD.

Amir Saniyan
  • 13,014
  • 20
  • 92
  • 137
4

[Additional stuff to Gene's answer]

If we want to view the "com.google.android.gcm.xml" file we have to pull out the file from emulator.For that go to top right side of the panel there is button(floppy disk and arrow) for this operation.

Pull a file from the device

Then we can give the location to save the file.You can open it from any text editor and you will be able to view the content of the XML file.

SithuSena
  • 377
  • 4
  • 5
4

Android 3.4.1 > Top Menu > View > Tools Window > Device File Manager

Gary Davies
  • 920
  • 15
  • 12
4

I am in Android 3.6.1, and the way " Top Menu > View > Tools Window > Device File Manager" doesn't work.Because there is no the "Device File Manager" option in Tools Window.

But I resolve the problem with another way:

1、Find the magnifier icon on the top right toobar. enter image description here

2、Click it and search "device" in the search bar, and you can see it. enter image description here

vainquit
  • 491
  • 6
  • 13
3

It is very Simple brother Click on the Android Device monitor(ADM) just below the Help menu then the on ADM select your file explorer from left screen menu or for more details go here It may Help U thanx

Abhishek Chaubey
  • 2,960
  • 1
  • 17
  • 24
Spry Techies
  • 896
  • 6
  • 21
3

As of Android Studio 2.4 Preview, it seems that they introduced "Device File Explorer" directly into the IDE, so we can finally say goodbye to DDMS. You can enable it from the menu under "View >> Tool Windows".

Eduard B.
  • 6,735
  • 4
  • 27
  • 38
2

Refer Here

With Android Studio, you may use Android file explorer like: Click View > Tool Windows > Device File Explorer or click the Device File Explorer

Scorpian
  • 56
  • 5
1

1- menu, "Tools" -> "Android" -> "DDMS (monitor included)" 2- Open the File Explorer tab.

Michel Silva
  • 117
  • 1
  • 4
1

If anyone is looking for the Android Studio (2.3.1) on Mac OSX (10.12.1) answer then here are the steps for it.

  1. Tools Menu > Android > Android Device Monitor

  2. Choose Your Device (at Left) > Click on File Explorer Tab (at Right)

Hope this helps.

Hemang
  • 26,840
  • 19
  • 119
  • 186
0

Device Explorer path for Emulator in Mac

/Users/"UserName"/Documents/AndroidStudio/DeviceExplorer/...

Logs File path for Emulator in Mac

/Users/"UserName"/Documents/AndroidStudio/DeviceExplorer/"EmulatorName"/storage/emulated/0/Android/data/com.app.domain/files/LogFiles/

Shared Preferences File path for Emulator in Mac

/Users/"UserName"/Documents/AndroidStudio/DeviceExplorer/"EmulatorName"/data/data/com.app.domain/shared_prefs/
Sajid Zeb
  • 1,806
  • 18
  • 32
-1

Do you mean Project Explorer? Click 'Project' tab on the left edge of Android Studio.

-2

If you want the basic answer to have the files on the left-hand side, just go on "View" then "Tool Buttons", you will then be able to choose "project".