简体   繁体   English

更改Android Studio设备文件资源管理器的默认“另存为”文件夹

[英]Change default 'Save as…' folder of Device File Explorer of Android Studio

Is there anyway to change the default 'Save as...' folder of Device File Explorer Android Studio 3.0 and above ? 无论如何,是否需要更改Device File Explorer Android Studio 3.0及更高版本的默认“另存为...”文件夹?
I want to pick a file from my virtual device into my PC, but an error happens, I guess it relates to the permission. 我想从虚拟设备中选择一个文件放入PC,但是发生错误,我想这与许可有关。

Error saving file(s) to local file system: Cannot create directory C:\\Users\\ABC\\Documents\\AndroidStudio\\DeviceExplorer\\samsung-samsung_sm_n900a-127.0.0.1_6555\\data\\data\\moneymanager.app.com\\files 将文件保存到本地文件系统时出错:无法创建目录C:\\ Users \\ ABC \\ Documents \\ AndroidStudio \\ DeviceExplorer \\ samsung-samsung_sm_n900a-127.0.0.1_6555 \\ data \\ data \\ moneymanager.app.com.files

在此处输入图片说明

对于Google员工:由于使用了某些版本的Android Studio,因此可以在Settings - Tools - Device File Explorer - Download location更改设备文件资源管理器的默认保存Settings - Tools - Device File Explorer - Download location

I haven't found the option to change directory as such but to actually pull the file from the Device File Explorer I recommend the following steps: 我还没有找到更改目录这样的选项,但实际上是要从设备文件资源管理器中提取文件,我建议执行以下步骤:

  1. Change the folder permissions through adb shell. 通过adb shell更改文件夹权限。
  2. Pull the file using "adb pull". 使用“ adb pull”拉文件。 See example: C:\\Users\\B\\AppData\\Local\\Android\\sdk\\platform-tools> adb pull /data/data/com.example.b.expensewatcher/databases/myexpenses.db 参见示例:C:\\ Users \\ B \\ AppData \\ Local \\ Android \\ sdk \\ platform-tools> adb pull /data/data/com.example.b.expensewatcher/databases/myexpenses.db

/data/data/com.example.b.expensewatcher/databases/myexpenses.db: 1 file pulled. /data/data/com.example.b.expensewatcher/databases/myexpenses.db:已拉1个文件。 3.3 MB/s (24576 bytes in 0.007s) 3.3 MB / s(24576字节为0.007s)

For more details: https://www.dev2qa.com/android-device-monitor-cannot-open-data-folder-resolve-method/ 有关更多详细信息: https : //www.dev2qa.com/android-device-monitor-cannot-open-data-folder-resolve-method/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何更改默认设置以在 Android Studio 的设备文件资源管理器中以文本形式打开数据库文件? - How to change the default set to open database files as text in Device File Explorer in Android Studio? android 工作室的设备文件资源管理器中缺少数据库文件夹 - database folder is missing in device file explorer in android studio Android Studio - 设备文件资源管理器图片目录 - Android Studio - Device File Explorer Picture Directory 在外部存储 android studio 设备资源管理器中找不到创建的文件夹 - folder created not found in external storage android studio device explorer Android-将文件保存到设备的“数据”文件夹 - Android - save file to Device's “data” folder 更改Android Studio 3.0中的默认Users文件夹 - Change the default Users folder in Android Studio 3.0 如何在没有Android Studio的情况下启动Android设备文件资源管理器? - How to start Android Device File Explorer without Android Studio? Android Studio-Android设备监视器的文件资源管理器不起作用 - Android Studio - Android Device Monitor's File explorer not working 如何在Android Studio(3.0.1)/设备文件资源管理器中打开sqlite文件 - How to open a sqlite file in Android Studio (3.0.1) / Device File Explorer Android Studio中Device-File-Explorer的作用是什么 - What's role of Device-File-Explorer in Android-Studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM