Android Studio 1.2 - Project encoding mismatches by default

后端 未结 4 1049
执笔经年
执笔经年 2020-12-03 09:59

I\'m a bit of an Android rookie, and I just upgraded to Android Studio 1.2. When I make a new project (API 16: Android 4.1 (Jelly Bean)), I immediately get the following war

4条回答
  •  爱一瞬间的悲伤
    2020-12-03 10:21

    You can change the default encoding settings for new projects by clicking on File -> Other Settings -> Default Settings.

    Under "Editor" and "File Encodings" you can set IDE Encoding and Project Encoding to the same value to avoid getting the error message with future projects.

    Setting it under File -> Settings will change it just for the currently open project.

提交回复
热议问题