Reputation: 5782
I had installed Node.js
、python 2.7.13
、git for windows
、C++
, and i used cmd : npm install -g react-native-cli
、react-native init MyProject
creat a ReactNative project .
I see the information To run your app on Android
Finally i use cmd: react-native run-androi
d on my project root.
And i open my android studio like this:
My question is what is next step ?
How do i compile the project ?
Is my step correct for now ?
Any help would be grated appreciated , thanks in advance.
I take the advice and try to run app , i use second cmd:react-native run-android
It shows SDK locations not found:
Should i change my SDK location ?
Upvotes: 1
Views: 411
Reputation: 1916
1) Open your android folder
2) Create local.properties file
3) Edit file sdk.dir = {sdk location} eg: sdk.dir = /Users/(name)/Library/Android/sdk
4) run application again, react-native run-android
Upvotes: 1