티스토리 뷰

이전 포스팅인 Android Emulator 명령어로 실행하는 방법 (MacOS) 에서

 

Android Emulator Error Message: “PANIC: Missing emulator engine program for ‘x86’ CPUS.” 와 같은 메시지가 나오면서 Emulator가 실행이 되지 않는 경우가 있습니다.

 

이러한 현상을 해결하기 위해서는 /Users/username/Library/Android/sdk/tools 폴더 내의 emulator가 먼저 실행이 되는 것이 아닌, /Users/username/Library/Android/sdk/emulator 폴더 내의 emulator가 실행이 되도록 환경변수 설정을 변경하면 됩니다.

 

1. vi 편집기에 들어갑니다.

vi .bash_profile

 

2. 즉, 아래와 같이 순서만 변경해주면 문제가 해결됩니다.

${ANDROID_HOME}/emulator:${ANDROID_HOME}/tools

 

참고자료

https://www.stkent.com/2017/08/10/update-your-path-for-the-new-android-emulator-location.html

 

Update Your Path For The New Android Emulator Location | Stuart Kent on Android

Update Your Path For The New Android Emulator Location August 10, 2017  android Since March 2017 (v25.3.0), the Android Emulator has been released separately from the rest of the Android SDK tools. As part of implementing this change, the emulator binary

www.stkent.com

 

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함