react-native 4

[React-Native] 안드로이드 세팅

1. Android Studio 설치 (Standard)https://developer.android.com/studio?hl=ko Android 스튜디오 및 앱 도구 다운로드 - Android 개발자 | Android DevelopersAndroid 스튜디오는 Android 앱에 최적화된 통합 개발 환경(IDE)을 앱 빌더에게 제공합니다. 지금 Android 스튜디오를 다운로드하세요.developer.android.com 2. react-native 버전에 맞는 sdk 설치 3. 사용자 환경변수 설정 4. 에뮬레이터 디바이스 생성 5. 터미널에서 실행yarn android

환경세팅 2024.01.04

[React-Native] web 정리

1. react-native에 필요한 라이브러리yarn add @react-native-community/masked-viewyarn add react-native-gesture-handleryarn add react-native-reanimatedyarn add @react-navigation/native @react-navigation/native-stackyarn add react-native-screens react-native-safe-area-context 2. 자주쓰는 컴포넌트✅ 자주쓰는 컴포넌트ViewTextImageScrollViewTextInputButtonSwitch📌 참고https://reactnative.dev/docs/components-and-apis%EF%BB%BF Cor..

코딩 2023.10.12

[Error] React-Native 설치 오류 정리

˙ 오류 내용error @react-native community/cli@11.3.7: The engine "node" is incompatible with this module. Expected version ">=16". Got "14.17.5" 해결방법cli 11버전은 node 버전 16이상 사용 ˙ 오류 내용cli.init(root, projectName); ^TypeError: cli.init is not a function 해결방법해당 오류는 버전이 맞지않아 발생한 오류입니다.react-native 버전을 낮춰 프로젝트를 실행하면 정상적으로 생성됩니다.react-native init 프로젝트명 --version 0.68.2 ˙ 오류 내용Invalid options object. ..

오류 2023.10.06