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

后端 未结 1 1699
野性不改
野性不改 2021-02-13 01:00

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:51

    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)
提交回复
热议问题