반응형 react-native error2 [React-Native] Unable to load script. Make sure you're either running Metro 오류 React-Native npx react-native run-android로 앱 실행 시 아래와 같은 오류가 발생할 때가 있습니다. Unable to load script. Make sure you're either running Metro (run 'npx react-natvie start') or that your bundle 'index.android.bundle' is packaged correctly for release. Metro가 정상적으로 켜지지 않았을 경우가 있음으로 1. 터미널에서 해당 프로젝트로 이동 2. npx react-native start 3. 에뮬레이터 화면에서 RR 입력 새로고침되면서 빌드됩니다. ※ 관련 포스팅 2022.08.09 - [Programing/React-Na.. 2022. 8. 9. [React-Native] react-native-camera-kit Build failed with 2 errors React-Native에서 카메라 기능을 사용하기 위해서 react-native-camera-kit를 설치 후 아래와 같은 오류 발생 Build failed with 2 errors react-native-camera-kit/android/build.gradle' line: 2 Plugin with id 'kotlin-android' not found. 환경 : project react-native version 0.69.1 - 해결 방법 - 1. /android/build.gradle에 kotlin_version 설정 buildscript { ext { ... kotlin_version = '1.5.10' } 2. buildscript.repositories와 allprojects.repositorie.. 2022. 8. 9. 이전 1 다음 반응형