Android Studio 3.0 - Settings are not saved

2019-06-16 16:31发布

问题:

I've increased the "Right margin (columns)" in File->Settings->Editor->Code Style from default 100 to 140. Unfortunately the margin is reset after each time I restart Android Studio. I also tried to export and import my settings but this does not prevent the right margin to be reset.

Hopefully someone can tell me how to save the margin.

回答1:

If you are selecting the default option in Code Style then it is going to reset again to 100 value

Try to select Project from Scheme and apply the setting it is working

if You are setting it default then it is reset to it default value