티스토리 뷰
troubleshooting
ReactNative + Expo 안드로이드 스튜디오 오류 (Couldn't start project on Android: No Android connected device found, and no emulators could be started automatically.)
jonyo 2021. 9. 20. 07:33ReactNative + 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를 깔고 윈도우에서 작업하는 것이다.
끝.
'troubleshooting' 카테고리의 다른 글
docker 컨테이너 내에서 nodemon이 작동하지 않을 때 (1) | 2021.09.27 |
---|---|
sequlize에서 docker postgresql 연결오류(HostNotFoundError [SequelizeHostNotFoundError]: getaddrinfo ENOTFOUND docker-db) (0) | 2021.09.25 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 알고리즘
- nestjs
- 벨만포드
- 자바스크립트
- 투포인터
- 예외처리
- nest.js
- 재귀
- 백트래킹
- 백준
- BFS
- 컴퓨터 통신
- typeORM
- 자바
- 동적계획법
- node.js
- 시뮬레이션
- 세그먼트 트리
- 구현
- Computer Architecture
- 중앙대학교
- dfs
- nodeJS
- 그래프
- 컴퓨터 구조
- 그리디
- boj
- ReactNative
- java
- 스레드
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함