Linuxias
Developer's Delight
Linuxias
  • Category
    • AI
      • Deep Learning
      • Machine Learning
      • Data Science
      • Framework
      • MLOps
      • Paper-Review
      • Tips
    • Android
      • Kotlin
      • Component
      • Compose
      • Compose UI
      • Material
      • Testing
    • Software Architecture
      • Architecture Pattern
      • Design Pattern
      • Requirement Engineering
    • Linux
      • Compile & Link
      • Command & Tool
      • Container
      • Debugging & Testing
      • Profiling
      • Kernel Analysis
      • Server
      • Shell Script
      • System Programming
    • Language
      • Carbon
      • C,C++
      • C#
      • Java
      • Python
    • ETC
      • Data Struct | Algorithm
      • git
      • Security
    • Book
    • 경제공부
      • 세금
      • 부동산
hELLO · Designed By 정상우.
Linuxias

Developer's Delight

Android

[Android Studio] The emulator process for AVD _xxx has terminated. (Emulator 실행 실패 문제 해결)

2022. 4. 7. 17:15
반응형

문제현상

Android Studio에서 Emulator 실행 시 Emulator process가 terminated 되었다는 팝업과 함께 실행이 되지 않는 문제가 있었습니다.

해결방법

검색을 하면 다양한 방법이 나옵니다. API 레벨을 맞춰보기, Emulator 삭제 후 재설치 하기 등등.. 원인은 모르고 일단 해결은 하자 식이였습니다. 저는 Emulator 실행 시 나오는 Log를 이용하여 원인을 파악하여 해결하였습니다.

문제의 원인을 찾기 위해서 Emulator를 Terminal에서 실행시켜 줍니다.
제 환경은 Ubuntu 18.04 환경이며, Android Emulator는 /home/{username}/Android/Sdk/emulator 에 설치되어 있습니다.

아래와 같이 emulator의 -list-avds 옵션을 이용해 실행 가능한 리스트를 확인하고 emulator로 실행을 시켜줬습니다.

$ ./emulator -list-avds
Wear_OS_Round_API_30

$./emulator @Wear_OS_Round_API_30
INFO    | Android emulator version 31.2.9.0 (build_id 8316981) (CL:N/A)
WARNING | unexpected system image feature string, emulator might not function correctly, please try updating the emulator.
ERROR   | Not enough space to create userdata partition. Available: 4898.136719 MB at /home/linuxias/.android/avd/Wear_OS_Round_API_30.avd, need 7372.800000 MB.

ERROR | Not enough space to create userdata partition. Available: 4898.136719 MB at /home/linuxias/.android/avd/Wear_OS_Round_API_30.avd, need 7372.800000 MB.

저 같은 경우에는 / partition에 Available memory가 부족해서 발생한 문제였습니다.

반응형
저작자표시 비영리 (새창열림)

'Android' 카테고리의 다른 글

[Android] 화면 회전시 데이터 초기화 되지 않도록 하는 방법  (2) 2014.10.27
[Android] Button Listener가 아닌 Handler를 이용하여 구현하기  (0) 2014.10.27
[Eclipse] fail to create the java virtual machine  (0) 2014.10.27
WAIT_FOR_CONCURRENT_GC ??  (0) 2013.08.30
죽지 않는 서비스 등록(알람 이용)  (0) 2013.08.30
    'Android' 카테고리의 다른 글
    • [Android] 화면 회전시 데이터 초기화 되지 않도록 하는 방법
    • [Android] Button Listener가 아닌 Handler를 이용하여 구현하기
    • [Eclipse] fail to create the java virtual machine
    • WAIT_FOR_CONCURRENT_GC ??
    Linuxias
    Linuxias
    I want to be a S/W developer who benefits people.

    티스토리툴바