LoginSignup
0
0

More than 5 years have passed since last update.

Flutterでビルドするときに、「FormatException: Bad UTF-8 encoding 0x83」のエラーが出続ける

Last updated at Posted at 2019-01-13

エラー原因が全く分からなくて、まさに悪夢。
結論としては、どっかでビルドエラーになっているため。

今回確認した環境は

  • Flutter 1.0.0
  • VS Code 1.30.2
  • Windows10 x64

今回、僕が遭遇したのは、Android側でビルドエラーになっていたため。
VS Codeを使用している場合、Android側のソースを編集しても、ビルドエラーが分からない。
androidフォルダをAndroidStudioでインポートして、ビルドエラーを解消し、flutter build apkを実行したところ、無事ビルドできた。

ちなみに「FormatException: Bad UTF-8 encoding 0x92 (at offset 0)」が出る場合は、もう一度ビルドすると解消するみたい。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0