File was loaded in the wrong encoding:'UTF-8' in IntelliJ IDEA

后端 未结 9 2051
别跟我提以往
别跟我提以往 2020-11-29 11:15

Before asking the question, I searched for a similar question on StackOverflow:

file was loaded in the wrong encoding: 'UTF-8' in android studio

But

9条回答
  •  忘掉有多难
    2020-11-29 11:40

    in my case , when i uploaded the first .ttf file in assert folder , android studio asked me to choose one file type , and when I selected text type . this problem start to appear . the right file type is : 'Files Opened In Associated Applications'. to fix your problem , you have to open preferences ->Editor ->File Types and search for .ttf extension then remove it and add it again under 'Files Opened In Associated Applications'

提交回复
热议问题