Android Studio:
1. Download Android Studio, unzip to local, VI bin/idea.property, add isable.android.first.run=true, open andriood Studio Welcome screen
2. Configure->settings->http Proxy set local agent mirrors.neusoft.edu.cn:80
3. Download the latest version of the Android SDK to unzip to local
4. Set the android SDK Liang environment variable.
Export ANDROID_HOME=/OPT/SOFTWARE/ANDROID-SDK
Export Path=${path}:${android_home}/tools
5. Configure-"settings->sdk Manager configuration SDK path to the third directory.
6. Open the SDK Manager Standalone Console to select the build to load
Start Learning reactnative Way:
Https://facebook.github.io/react-native/docs/getting-started.html
1. Install NPM and Node reference online resources
2. npm install -g react-native-cli Installing Reactnative
3. react-native Init HelloWorld2 New Project
4. CD Hell
5. React-native run-android
Error when compiling at the beginning
Could not find com.android.support:appcompat-v7:23.0.1.
Could not install the app on the device and read the error above for details.
Make sure a Android emulator running or a device connected and has
Set up your Android development environment:
Https://facebook.github.io/react-native/docs/android-setup.html
Android Development Environment Building