LoginSignup
9
3

More than 1 year has passed since last update.

エミュレータ起動時に「The emulator process for AVD Pixel_2_API_28 has terminated.」と表示される

Posted at

事象

エミュレータを作成、実行しようとした際、「The emulator peocess for AVD Pixel_2_API_28 has terminated .」と表示された。

調べたら~ has killedの対処法は出てきたが~ has terminatedの対処法は出てこなかったのでメモ。

結論

ディスク容量不足

確認手順

  1. C:\Users\ユーザ名\AppData\Local\Google\AndroidStudio2020.3\log\idea.logを適当なエディタで開く
  2. 「terminated」等で検索をかけると以下のようなログが出てくる
2021-09-30 19:38:24,878 [ 503186]   INFO - manager.EmulatorProcessHandler - Emulator: C:\Users\me\AppData\Local\Android\Sdk\emulator\emulator.exe -netdelay none -netspeed full -avd Pixel_2_API_28 
2021-09-30 19:38:26,380 [ 504688]   INFO - manager.EmulatorProcessHandler - Emulator: emulator: ERROR: Not enough space to create userdata partition. Available: 6655.781250 MB at C:\Users\me\.android\avd\Pixel_2_API_28_1.avd, need 7372.800000 MB. 
2021-09-30 19:38:26,380 [ 504688]   INFO - manager.EmulatorProcessHandler - Emulator:  
2021-09-30 19:38:26,386 [ 504694]   INFO - manager.EmulatorProcessHandler - Emulator: emulator: Android emulator version 30.8.4.0 (build_id 7600983) (CL:N/A) 
2021-09-30 19:38:26,386 [ 504694]   INFO - manager.EmulatorProcessHandler - Emulator: Process finished with exit code 1 
2021-09-30 19:38:26,386 [ 504694]   WARN - manager.EmulatorProcessHandler - Emulator terminated with exit code 1 

WARN行の少し上にERROR内容が記載されている

2021-09-30 19:38:26,380 [ 504688]   INFO - manager.EmulatorProcessHandler - Emulator: emulator: ERROR: Not enough space to create userdata partition. Available: 6655.781250 MB at C:\Users\me\.android\avd\Pixel_2_API_28_1.avd, need 7372.800000 MB. 
9
3
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
9
3