android studio突然显示完整的文件夹名称,如何更改

标签 android android-studio android-studio-2.2

Android Studio 在项目 View 中突然显示文件夹的全名,我不知道如何更改它。我尝试使用项目 View 中选项菜单中的设置更改 View (展平包选中/取消选中,压缩空中间包选中/取消选中),但它没有改变。

这是我的项目 View 过去的样子:

enter image description here

现在是这样的:

enter image description here

在我看来,myapp 文件夹中的每个文件夹突然都有完整的 appid + 它自己的名称作为文件夹名称。 我尝试使用这些命令重置 Android Studio 设置(我是 Mac 用户):

rm -Rf ~/Library/Preferences/AndroidStudio*
rm ~/Library/Preferences/com.google.android.studio.plist
rm -Rf ~/Library/Application\ Support/AndroidStudio*
rm -Rf ~/Library/Logs/AndroidStudio*
rm -Rf ~/Library/Caches/AndroidStudio*

仍然没有变化。我当前的 Android Studio 版本是 Android Studio 2.2,构建号 AI-145.3276617。

我昨天唯一做的就是更新到最新稳定的Android 2.2版本,我不知道这是否改变了应用程序的显示方式,另一个项目(以前是截图的方式)似乎没有受到影响完全没有。

最佳答案

取消选中 Flattern packages

enter image description here

正在设置中。 enter image description here

关于android studio突然显示完整的文件夹名称,如何更改,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39589404/

相关文章:

android - 检查应用程序是否已安装或卸载

android - 如何更改工具栏名称并将图标与工具栏一起放置

android - 如何将 Material 设计库导入 Android Studio?

android-studio - Android Studio 不提供 SQL 作为注入(inject)语言

javascript - 无法使用 Cloud Code 找出 Parse Config

java - 在 android 中以编程方式更新联系人姓名会导致模拟器出现非法参数异常

android - 在包 'srcCompat' 中找不到属性 '....' 的资源标识符

android - 是否可以在蓝图模式下使用 ConstraintLayout 滚动 ScrollView?

android - 如何本地化 drawable-nodpi?