可以在Android Studio的设备文件浏览器中保存文件夹的快捷方式吗?

huangapple go评论53阅读模式
英文:

Can I save a shortcut of a folder when I use Device File Explorer in Android Studio?

问题

我正在使用Android Studio Flamingo | 2022.2.1 Patch 1,我知道我可以使用Android Studio中的设备文件资源管理器显示Android设备中的所有文件。

但是在这个图表中有很多文件和文件夹,你可以看到图像A。

我如何保存文件夹的快捷方式?比如,我希望将data -> data -> com.hicac.chattest保存为快捷方式,这样我可以快速访问。

图像A

英文:

I'm using Android Studio Flamingo | 2022.2.1 Patch 1, I know I can use Device File Explorer in Android Studio to display all files in an Android device.

But there are many files and folders in the Diagram, you can see Image A.

How can I save a shortcut of a folder ? Such as I hope to save data -> data -> com.hicac.chattest to a shortcut, so I can access it quickly.

Image A

可以在Android Studio的设备文件浏览器中保存文件夹的快捷方式吗?

答案1

得分: 1

这不可能,因为您创建的快捷方式不会反映在运行应用程序时所做的任何更改,您可以复制文件并将其保存在桌面上。

当我需要多次访问设备资源管理器时,我使用的一种解决方法是展开文件夹并保持其打开,这样只要物理设备/模拟器连接/运行,单击设备资源管理器选项卡将显示文件/文件夹的展开状态,从而节省了再次展开的麻烦。

英文:

This is not possible as the shortcut you create will not reflect any changes made on running the app, you can copy the file and keep it on your desktop.

One workaround I use when having to access the device explorer multiple times is, I expand the folders and keep it open, so as long as the physical device/emulator is connected/running, the device explorer tab when clicked will show you the expanded state of the files/folders, thus saving the hassle to re expand it again and again.

huangapple
  • 本文由 发表于 2023年5月13日 18:22:49
  • 转载请务必保留本文链接:https://go.coder-hub.com/76242230.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定