Mount 一个windows盘
因为要获取的api, vm images 太大建议外挂一个硬盘作为专门的存储
下载ntfs3g: http://www.linuxfromscratch.org/blfs/view/svn/postlfs/ntfs-3g.html
安装-http://eagoogle.blog.51cto.com/622530/555511
Android Studio:
1. 下载Android Studio , 解压缩到本地,vi bin/idea.property, 添加isable.android.first.run=true, 打开 Andriood studio 欢迎界面
2. Configure->settings->http proxy 设置本地代理 mirrors.neusoft.edu.cn:80
3. 下载 Android SDK 最新版本 解压缩到本地. http://linux.softpedia.com/get/Programming/Interpreters/Android-SDK-32340.shtml
4. 设置Android SDK liang 环境变量.
export ANDROID_HOME=/opt/Software/android-sdk
export PATH=${PATH}:${ANDROID_HOME}/tools
5. Configure -》Settings->SDK Manager 配置SDK PATH到第三部的目录.
6. 打开SDK Manager Standalone Console 选择要加载的组建
开始学习 ReactNative方式:
https://facebook.github.io/react-native/docs/getting-started.html
1. 安装 npm 和node 参照网上资源
2. npm install -g react-native-cli
安装reactnative
3. react-native init HelloWorld2 新建工程
4. cd Hell
5. react-native run-android
一开始编译的时候报错
Could not find com.android.support:appcompat-v7:23.0.1.
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html