npm install -g react-native-cli

npx react-native init SampleApp
or
npx react-native init SampleApp --version 0.68.2

cd SampleApp

npm run android
or
react-native run-android
or
npx react-native run-android

 

# android 폴더 하위에 local.properties 파일 생성

sdk.dir=C\:\\Users\\{자신의 계정}\\AppData\\Local\\Android\\Sdk

 

 

+ Recent posts