Android Studio Resetting Changes to Default Code Style January 7, 2024 by Tarik What I do in that case is Go to Preferences Code Style Select scheme you want Click Settings cog Click copy to project Some OKs and then it works.