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

【Flutter】デバッグ時に画面が真っ黒になってしまう場合の対処法

Posted at

はじめに

Flutterで開発をしているとエミュレータが突然真っ黒になり、開発中のアプリが表示できなくなりました。
本記事はその際に対処方法をまとめたものになります。

環境

  • エミュレータ:Pixcel 3a API34
  • Android Studio Jellyfish | 2023.3.1

事象

以下の画像のように突然エミュレータの画面が真っ黒になった。

image.png

結論

android studioから対象のエミュレータを選択しwipe dataで初期化すると事象は解決した。

WipeDataでの初期化

android studioを開きます。
More Action > Virtural Device Manager を選択。

image.png

「:」をクリックすると、wipe dataの項目が表示されるのでこれを選択し初期化する。

image.png

ここまでやった後、再度エミュレータを起動しデバッグを行ってみると事象は改善しました。

参考

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?