开发flutter的时候,每一次点击启动按键,就很容易发生Finished with error: FormatException: Bad UTF-8 encoding 0xb4的问题.该死的是,多运行几次它又没有了.今天我就要彻底解决它.

问题:Running 'gradlew assembleDebug'...
Finished with error: FormatException: Bad UTF-8 encoding 0xb4 (at offset 125)

步骤一.先确定你的代码没有问题,如果配置无问题,但是代码有问题,也是同样会出现这个错误.

步骤二,android studio修改设置. 具体如下 file - other settings - default settings -找到project encoding,改为utf-8 .    get,进行继续去开发吧.

解决flutter的FormatException: Bad UTF-8 encoding的问题

相关文章:

  • 2021-12-06
  • 2021-09-24
  • 2022-01-05
  • 2021-06-23
  • 2021-11-15
  • 2021-08-20
  • 2021-08-27
猜你喜欢
  • 2021-11-19
  • 2022-12-23
  • 2021-04-12
  • 2021-12-06
  • 2022-12-23
  • 2021-09-08
相关资源
相似解决方案