Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio suddenly shows full folder names, how to change

Android Studio suddenly shows the full name a folder in the Project view and I don't know how to change it. I tried to change the view with the settings in the option menu in the Project view (flatten packages check/uncheck, compact empty middle packages check/uncheck), but it didn't change.

This is how my project view used to look like:

enter image description here

This is how it looks now:

enter image description here

It seems to me that every folder inside the myapp folder suddenly has the full appid + its own name as foldername. I tried resetting Android Studio settings by using these commands (I'm a mac user):

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*

Still no changes. My current Android Studio version is Android Studio 2.2, build number AI-145.3276617.

The only thing I did was to update to the latest stable Android 2.2 version yesterday, I don't know if this changed the way the app appears, another project (the how it used to be screenshot) didn't seem affected at all.

like image 470
Eve Avatar asked Sep 20 '16 08:09

Eve


People also ask

Can you name folders on android?

Under "Storage Devices," tap Internal storage or Storage device. Next to a folder you want to rename, tap the Down arrow . Tap Rename.

What is Gen folder in Android Studio?

gen/ folder holds source code that Android's build tools generate.


1 Answers

Uncheck Flattern packages

enter image description here

under setting. enter image description here

like image 144
Madhukar Hebbar Avatar answered Oct 10 '22 00:10

Madhukar Hebbar