React native 배달 앱 만들기 (1) 초기 환경 세팅

Hyo·2023년 8월 16일
0

1. Chocolatey 설치

https://reactnative.dev/docs/environment-setup?guide=native

01.

*powershell 관리자 권한으로 실행

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

02.

choco install -y nodejs-lts microsoft-openjdk11

03.안드로이드 스튜디오 sdk 환경 변수 설정하기

adddata 안에서 sdk 경로 찾기

04.javac 환경 변수 설정

02. React native 설치

*powershell에서 실행함

01.

npm i -g react-native

02.

npx react-native init FoodDeliveryApp --template react-native-template-typescript


->실행 결과

03.

cd FoodDeliveryApp

code .

04.

npm run android


-> 실행 결과

profile
갓난 아이의 거짓 울음

1개의 댓글

comment-user-thumbnail
2023년 8월 16일

정보에 감사드립니다.

답글 달기