2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

flutterで"Could not get cmap table size!"というエラーが発生した時の対処法

2
Posted at

現象

flutterでandroidアプリを開発していたら、突然、Could not get cmap table size!というエラーが発生し、以下のように表示されるはずのマテリアルアイコンが、
nomal.png
以下のように表示された。
error.png

コードは以下の通り。

  IconButton(
    icon: Icon(Icons.refresh),
    onPressed: updateArticles,
  )

環境

  • Dart 2.4.0
  • Flutter 1.7.8
  • Android Studio 3.4.1

原因

不明。issueがあるが、原因特定できていないとのこと。
https://github.com/flutter/flutter/issues/23645

対応

以下コマンドを実行した後、エミュレータを再起動で、アイコンが正しく表示された。
flutter clean

参考

2
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
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?