React Native

React Native

RN 빌드 오류] error Android project not found. Are you sure this is a React Native project?

지난 금요일 거래처에게 앱 테스트를 요청하기위해 release 하고 난 다음 월요일 출근해서 작업을 할려고 하니 아래와 같은 에러가 발생했다. C:\App\Test>npx react-native run-android -- --reset-cache error Android project not found. Are you sure this is a React Native project? If your Android files are located in a non-standard location (e.g. not inside 'android' folder), consider setting `project.android.sourceDir` option to point to a new location. Run C..

React Native

RN 개발관련 링크정리입니다.

RN 개발관련 링크정리입니다. - RN 개발 모듈과 이슈, 개발방법 git https://github.com/jondot/awesome-react-native - nativebse : RN 프레임워크 https://docs.nativebase.io/ - 윈도우 RN 개발환경 구축시 참고 https://dev-yakuza.github.io/ko/react-native/install-on-windows/ - RN 앱아이콘 및 스플래시 만들기 https://dev-yakuza.github.io/ko/react-native/react-native-make/ - RN 모듈 인기순 정리 https://www.awesome-react-native.com/#Components-Forms =================..

React Native

Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`

react-native 0.62 버전에서 오류 발생 하단의 멘뉴 터치시 toast 에도 영향을 주는것 같아서 처리하고 에러 해결하고 정상적으로 작동이 잘됨 import { YellowBox } from 'react-native'; YellowBox.ignoreWarnings([ 'Animated: `useNativeDriver` was not specified.', ]);

React Native

[react-native] Error : Unable to load script. Make sure youre dither running a Metro server... index.android.bundle is packaged correctly for release

react-native 최초 설치 후 안드로이드 스튜디오로 실행할 경우 위와 같은 오류 발생할때 1. [패키지명]/android/app/src/main/assets 폴더가 있는지 확인하고 없으면 생성 2. [패키지명]/android 폴더에서 ./gradlew clean 실행 3. [패키지명] 폴더에서 아래 명령어 실행 react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res 4. react-native run-android

React Native

React Native 개발 프로젝트 생성

React Native 프로젝트 생성 준비 1. 리액트 네이티브 CLI 명령어 사용하여 프로젝트 생성 react-native init Test 2. 타입스크립트, Styled Components, babel-plugin-root-import 를 개발의 편의를 위해 설치 cd Test npm install --save styled-components npm install --save-dev typescript @types/react @types/react-native @types/styled-components babel-plugin-root-import 3. 타입스크립트 설정을 위해 tsconfig.json 생성 { "compilerOptions": { "allowJs": true, "allowSynth..

React Native

Compatible side by side NDK version was not found.

> Task :app:stripDebugDebugSymbols UP-TO-DATE Compatible side by side NDK version was not found. > Task :app:installDebug FAILED 안드로이드 스튜디오 환경설정에서 NDK 설치

React Native

React Native 개발환경 설정 삽질하지 말고...

1. Chocolatey 패키지 관리 프로그램 설치 초코렛티(Chocolatey)는 윈도우즈 패키지 매니저로 Package를 설치 및 관리해주는 툴입니다. Mac에는 홈브루(Homebrew), Ubuntu에는 apt-get, CentOS에는 yum 패키지 매니저가 있습니다. 파워셀 또는 Cmd 는 관리자 권한으로 실행 (파워셀보다는 명령프로프트(cmd)로 설치하는 것이 편하실겁니다. 그 이유는 아래에...) https://chocolatey.org/install Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::..

projin
'React Native' 카테고리의 글 목록 (2 Page)