esilver
esilver

Reputation: 28463

How to import .XML code style into Android Studio 1.5.1 for OSX

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:

enter image description here

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:

enter image description here

Upvotes: 2

Views: 2220

Answers (1)

yole
yole

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

Related Questions