티스토리 뷰

ReactNative + Expo를 이용해 안드로이드 시뮬레이터를 열려는데 자꾸 이런 오류가 떴다.

Couldn't start project on Android: No Android connected device found, and no emulators could be started automatically.
Please connect a device or create an emulator (https://docs.expo.dev/workflow/android-studio-emulator).
Then follow the instructions here to enable USB debugging:
https://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select "Use custom Android SDK tools", and point it at your Android SDK directory.

 

해결하기 위해서 스택오버플로우도 보고 깃헙 이슈도보고 구글링을 해봤는데 도무지 해결이 안되었다.

분명 가이드 따라 설치했는데도 말이다..

혹시 이 글을 본 사람이 똑같은 오류를 겪고있고, WSL2 환경에서 작업한다면 나와 같은 문제를 겪은걸 수 있다.

 

그 답은 바로 WSL에서 작업하고 있기 때문이다. ubuntu에 expo를 설치하고 프로젝트를 생성했다. 현재 내 윈도우엔 expo는 커녕 node도 깔려있지 않은 상태이다. 근데 안드로이드 스튜디오는 윈도우에 깔고 이 뻘짓을 하고 있었다.

답은 결국 ubuntu에 에뮬레이터를 설치하거나, 윈도우에 expo를 깔고 윈도우에서 작업하는 것이다.

 

끝.

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/02   »
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
글 보관함