본문 바로가기
반응형

Programing/React-Native3

[React-Native] 안드로이드 기본 텍스트 색상 지정하기 Android default font color React-Native 프로젝트에서 안드로이드로 앱 기동 시 텍스트들의 색상이 정상적으로 보이지 않아서 Text의 기본 색상을 설정하는 방법에 대해 알아보겠습니다. /android/app/src/main/res/values/styles.xml 상단 경로에 있는 styles.xml 파일을 열어줍니다. 그리고 아래와 같이 기본 색상 컬러 값을 지정합니다. ※ 관련 포스팅 2022.08.09 - [Programing/React-Native] - [React-Native] react-native-camera-kit Build failed with 2 errors 2022.08.09 - [Programing/React-Native] - [React-Native] Unable to load script. Make .. 2022. 8. 9.
[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.
반응형