Android Studio code style scheme auto reset to the default every start

后端 未结 1 1076
孤独总比滥情好
孤独总比滥情好 2021-02-13 00:59

After I update Android Studio to 3.2.x, every time I create a project, its Code Style Scheme (in Preference -> Editor -> Code Style) auto be default \"Project\", not what I set

1条回答
  •  孤独总比滥情好
    2021-02-13 01:40

    After a lot of work, I solved this problem as below:

    Open gradle.properties file in project root directory, I find code kotlin.code.style=official, simply delete this line code, then the problem is solved.

    Maybe Android Studio is confused by this code, or code style set by this line code have conflict with the Code Style Scheme set in IDE. If what i guess is right, then this is a bug of Android Studio.

    0 讨论(0)
提交回复
热议问题