在文件资源管理器中显示在 Linux 上的 Android Studio 3.6.3 上不工作
Show In File Explorer not working on Android Studio 3.6.3 on Linux
我正在使用 KDE Neon Linux Distro(基于 Ubuntu)。
当我在项目视图中右键单击一个文件时,会出现 Show In Explorer
菜单(尽管文本是 Show In Dolphin
因为我使用的是 Dolphin 文件资源管理器)。当我点击它时,出现文件资源管理器加载指示器,但文件资源管理器从未打开。
我已经在 /home/<username>/.AndroidStudio3.6/system/log/
中查看了 idea.log
,但找不到关于文件浏览器的任何信息。
这是日志的最新行。整个文件包含 39,000 行。
ms
2020-05-06 17:02:21,947 [ 722495] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 121 ms
2020-05-06 17:03:35,512 [ 796060] INFO - rationStore.ComponentStoreImpl - Saving appEditorColorsManagerImpl took 15 ms
2020-05-06 17:03:35,586 [ 796134] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/risal/AndroidStudioProjects/BukaKata' BukaKatalibraryTable took 37 ms
2020-05-06 17:03:35,587 [ 796135] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 143 ms
2020-05-06 17:04:50,155 [ 870703] INFO - tellij.openapi.util.IconLoader - replace '/vcs/patch.svg' with '/icons/vcs/patch.svg'
2020-05-06 17:04:50,182 [ 870730] INFO - tellij.openapi.util.IconLoader - replace '/vcs/Shelve.svg' with '/icons/vcs/Shelve.svg'
2020-05-06 17:05:02,460 [ 883008] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/risal/AndroidStudioProjects/BukaKata' BukaKatalibraryTable took 20 ms
2020-05-06 17:05:53,897 [ 934445] INFO - tellij.openapi.util.IconLoader - replace '/modules/testRoot.svg' with '/icons/modules/testRoot.svg'
2020-05-06 17:06:09,811 [ 950359] INFO - rationStore.ComponentStoreImpl - Saving appFindSettings took 24 ms
2020-05-06 17:06:09,834 [ 950382] INFO - rationStore.ComponentStoreImpl - Saving Module: 'app'FacetManager took 12 ms
2020-05-06 17:06:09,913 [ 950461] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/risal/AndroidStudioProjects/BukaKata' BukaKatalibraryTable took 36 ms
2020-05-06 17:06:09,923 [ 950471] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 167 ms
2020-05-06 17:06:17,948 [ 958496] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/risal/AndroidStudioProjects/BukaKata' BukaKatalibraryTable took 23 ms
2020-05-06 17:06:29,987 [ 970535] INFO - tellij.openapi.util.IconLoader - replace '/modules/testResourcesRoot.svg' with '/icons/modules/testResourcesRoot.svg'
2020-05-06 17:06:29,992 [ 970540] INFO - tellij.openapi.util.IconLoader - replace '/modules/excludeRoot.svg' with '/icons/modules/excludeRoot.svg'
2020-05-06 17:06:41,563 [ 982111] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/risal/AndroidStudioProjects/BukaKata' BukaKataRunManager took 15 ms, libraryTable took 77 ms
2020-05-06 17:06:41,571 [ 982119] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 181 ms
2020-05-06 17:07:50,844 [1051392] INFO - tellij.openapi.util.IconLoader - replace '/general/copyHovered.svg' with '/icons/general/copyHovered.svg'
2020-05-06 17:07:52,725 [1053273] INFO - #git4idea.commands.GitHandler - [BukaKata] git /usr/bin/git -c credential.helper= -c core.quotepath=false -c log.showSignature=false rm --ignore-unmatch --cached -- .idea/render.experimental.xml
2020-05-06 17:07:55,404 [1055952] INFO - rationStore.ComponentStoreImpl - Saving appFindSettings took 29 ms
2020-05-06 17:07:55,501 [1056049] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/risal/AndroidStudioProjects/BukaKata' BukaKataRunManager took 27 ms, libraryTable took 31 ms
2020-05-06 17:07:55,501 [1056049] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 161 ms
我找到了解决办法,很简单
只需在 /etc/environment
的 PATH 变量中添加 /home
,然后重新启动
之前
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
之后
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home"
不要忘记 :
作为分隔符
我正在使用 KDE Neon Linux Distro(基于 Ubuntu)。
当我在项目视图中右键单击一个文件时,会出现 Show In Explorer
菜单(尽管文本是 Show In Dolphin
因为我使用的是 Dolphin 文件资源管理器)。当我点击它时,出现文件资源管理器加载指示器,但文件资源管理器从未打开。
我已经在 /home/<username>/.AndroidStudio3.6/system/log/
中查看了 idea.log
,但找不到关于文件浏览器的任何信息。
这是日志的最新行。整个文件包含 39,000 行。
ms
2020-05-06 17:02:21,947 [ 722495] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 121 ms
2020-05-06 17:03:35,512 [ 796060] INFO - rationStore.ComponentStoreImpl - Saving appEditorColorsManagerImpl took 15 ms
2020-05-06 17:03:35,586 [ 796134] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/risal/AndroidStudioProjects/BukaKata' BukaKatalibraryTable took 37 ms
2020-05-06 17:03:35,587 [ 796135] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 143 ms
2020-05-06 17:04:50,155 [ 870703] INFO - tellij.openapi.util.IconLoader - replace '/vcs/patch.svg' with '/icons/vcs/patch.svg'
2020-05-06 17:04:50,182 [ 870730] INFO - tellij.openapi.util.IconLoader - replace '/vcs/Shelve.svg' with '/icons/vcs/Shelve.svg'
2020-05-06 17:05:02,460 [ 883008] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/risal/AndroidStudioProjects/BukaKata' BukaKatalibraryTable took 20 ms
2020-05-06 17:05:53,897 [ 934445] INFO - tellij.openapi.util.IconLoader - replace '/modules/testRoot.svg' with '/icons/modules/testRoot.svg'
2020-05-06 17:06:09,811 [ 950359] INFO - rationStore.ComponentStoreImpl - Saving appFindSettings took 24 ms
2020-05-06 17:06:09,834 [ 950382] INFO - rationStore.ComponentStoreImpl - Saving Module: 'app'FacetManager took 12 ms
2020-05-06 17:06:09,913 [ 950461] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/risal/AndroidStudioProjects/BukaKata' BukaKatalibraryTable took 36 ms
2020-05-06 17:06:09,923 [ 950471] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 167 ms
2020-05-06 17:06:17,948 [ 958496] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/risal/AndroidStudioProjects/BukaKata' BukaKatalibraryTable took 23 ms
2020-05-06 17:06:29,987 [ 970535] INFO - tellij.openapi.util.IconLoader - replace '/modules/testResourcesRoot.svg' with '/icons/modules/testResourcesRoot.svg'
2020-05-06 17:06:29,992 [ 970540] INFO - tellij.openapi.util.IconLoader - replace '/modules/excludeRoot.svg' with '/icons/modules/excludeRoot.svg'
2020-05-06 17:06:41,563 [ 982111] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/risal/AndroidStudioProjects/BukaKata' BukaKataRunManager took 15 ms, libraryTable took 77 ms
2020-05-06 17:06:41,571 [ 982119] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 181 ms
2020-05-06 17:07:50,844 [1051392] INFO - tellij.openapi.util.IconLoader - replace '/general/copyHovered.svg' with '/icons/general/copyHovered.svg'
2020-05-06 17:07:52,725 [1053273] INFO - #git4idea.commands.GitHandler - [BukaKata] git /usr/bin/git -c credential.helper= -c core.quotepath=false -c log.showSignature=false rm --ignore-unmatch --cached -- .idea/render.experimental.xml
2020-05-06 17:07:55,404 [1055952] INFO - rationStore.ComponentStoreImpl - Saving appFindSettings took 29 ms
2020-05-06 17:07:55,501 [1056049] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/risal/AndroidStudioProjects/BukaKata' BukaKataRunManager took 27 ms, libraryTable took 31 ms
2020-05-06 17:07:55,501 [1056049] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 161 ms
我找到了解决办法,很简单
只需在 /etc/environment
的 PATH 变量中添加 /home
,然后重新启动
之前
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
之后
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home"
不要忘记 :
作为分隔符