Reputation: 28463
I am trying to import official Google code styles into Android Studio 1.5.1.
I have placed the file named intellij-java-google-style.xml
here:
/Users/me/Library/Preferences/IdeaIC14/codestyles
As described by this answer on Stack. However, it does not appear:
I further attempted the approach described here and placed the same file in ~/Library/Preferences/AndroidStudioBeta/codestyles
, but that also did not work.
Can anyone suggest the right way to import codestyles in Android Studio 1.5.1? Here is exactly what I am running:
Upvotes: 2
Views: 2220
Reputation: 97148
You've placed the code style .xml in a path used by IntelliJ IDEA, not Android Studio. The corresponding path for Android Studio is:
/Users/me/Library/Preferences/AndroidStudio1.5/codestyles
Upvotes: 7