简体   繁体   中英

File Explorer in Android Studio

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.

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.

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 - 设备文件资源管理器

在此处输入图片说明

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

在此处输入图片说明

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

在此处输入图片说明

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

在此处输入图片说明

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

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.

[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.

从设备中拉取文件

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.

Android 3.4.1 > 顶部菜单 > 查看 > 工具窗口 > 设备文件管理器

这是非常简单的兄弟单击帮助菜单正下方的Android设备监视器(ADM),然后在ADM上从左侧屏幕菜单中选择您的文件资源管理器或了解更多详细信息, 请点击此处它可能会帮助您

我不确定最新版Android Studio中是否存在文件资源管理器(在我的情况下为2.2.2)

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".

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

视图 > 工具窗口 > 设备文件资源管理器

1- 菜单,“工具”->“Android”->“DDMS(包括显示器)” 2- 打开文件资源管理器选项卡。

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. 在此处输入图片说明

2、Click it and search "device" in the search bar, and you can see it. 在此处输入图片说明

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.

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/

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

如果您希望基本答案在左侧显示文件,只需依次单击“查看”和“工具按钮”,您就可以选择“项目”。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM