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 scheme stored in IDE before.
After I set the project code style scheme format to scheme which stored in IDE and "apply", every time I start Android Studio to open this project, then its code style scheme auto be default "Project" again!
What is the problem? What can I do?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With