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.
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
This works on Android Studio 1.x:
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.
Tools Menu > Android > Android Device Monitor
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.