android studio with Java compiler error: string too large to encode using UTF-8 written instead as 'STRING_TOO_LARGE'

后端 未结 16 1294
北恋
北恋 2020-12-03 06:45

When I clean the android project in android studio, the error happen, I have backed to previous commit or different branch, which works find couple days ago, but has this er

16条回答
  •  隐瞒了意图╮
    2020-12-03 07:06

    Windows 10 Solution

    Finding the file with the error: use a online decompiler if it's not a problem is some one else sees your code. Download .zip file. Open up notepad++ search -> Find in files -> STRING_TOO_LARGE -> Find all.

    If the problem file is a vector asset:

    Vikasdeep Singh has a great solution: avocado. Avocado will make the vector file smaller.

提交回复
热议问题