일 년 전 · 익명 님의 새로운 답변
React Native android emulator 질문있습니다.
native 공부중에 제가 React Native Debugger를 다운받아서 사용할려고 하는데, 사진과 같이 Menu에 Debug 혹은 debug js remotely 가 없더라구요 Open Debugger 누르면 filpper 다운 받으라고 하는데... 연결을 못해서 console를 못보면서 하니 어떻게 해야할까요? 기기는 ( android 13.0 Tiramisu 사용중입니다.)
개발자
#native
답변 1
댓글 0
추천해요 1
조회 255
일 년 전 · 김지엽 님의 새로운 답변
"react-native doctor"에서 에러 반복 (Adb, Android Studio)
"npx react-native doctor"를 실행하여 문제를 찾고, F(fix)를 눌러 에러 해결을 진행하였습니다. ---------------------------------------------------------- Common ✓ Node.js - Required to execute JavaScript code ✓ npm - Required to install NPM dependencies ● Metro - Metro Bundler is not running Android ✖ Adb - No devices and/or emulators connected. Please create emulator with Android Studio or connect Android device. ✓ JDK - Required to compile Java code ✖ Android Studio - Required for building and installing your app on Android ✓ ANDROID_HOME - Environment variable that points to your Android SDK installation ✓ Android SDK - Required for building and installing your app on Android Errors: 2 Warnings: 1 Attempting to fix 3 issues... Common ✖ Metro Could not start the bundler. Please run "npx react-native start" command manually. Android ✖ Adb √ Select the device / emulator you want to use » Emulator s24u (disconnected) ✔ Adb ✔ Android Studio installed successfully in "C:\Users\OOO\AppData\Local\Android". ---------------------------------------------- 그러나 여전히 에뮬레이터는 작동하지 않으며, 다시 "npx react-native doctor"를 실행하면 다시 같은 오류가 발생합니다. --------------------------------------------- Common ✓ Node.js - Required to execute JavaScript code ✓ npm - Required to install NPM dependencies ● Metro - Metro Bundler is not running Android ✖ Adb - No devices and/or emulators connected. Please create emulator with Android Studio or connect Android device. ✓ JDK - Required to compile Java code ✖ Android Studio - Required for building and installing your app on Android ✓ ANDROID_HOME - Environment variable that points to your Android SDK installation ✓ Android SDK - Required for building and installing your app on Android Errors: 2 Warnings: 1 Usage › Press f to try to fix issues. › Press e to try to fix errors. › Press w to try to fix warnings. › Press Enter to exit.
개발자
#react
#react-native
#안드로이드
#android-studio
#android
답변 1
댓글 0
조회 668
일 년 전 · 익명 님의 질문
리액트 네이티브 '안드로이드 에뮬레이터'가 데스크탑에서는 자동 실행
리액트 네이티브 프로젝트를 진행중입니다. 데스크탑으로 진행해왔고, 데스크탑에서는 별도의 에뮬레이터 실행 없이 자동으로 에뮬레이터가 실행되고 있었습니다. (즉, npm start > a 만 하면 프로젝트가 실행됩니다.) 최근에 노트북으로 접속할 일이 생겨 노트북으로는 처음 접속 해보니 먼저 에뮬레이터를 켜주고, 프로젝트를 실행해야 했습니다. (즉, emulator -avd 기기이름 > npm start > a 로 1개의 명령어가 늘었습니다.) 어떤 차이가 있는 걸까요? 참고할 영상 첨부드립니다. https://youtu.be/v1nLlhOX4fo?si=JHDFxaGL3GxUOEg5
개발자
#react-native
#android
#emulator
#react
#android-studio
답변 0
댓글 0
조회 90