使用 Bluemix、Watson 和 Apache Cordova 创建混合移动应用程序(2)
 
- UID
- 1066743
|
使用 Bluemix、Watson 和 Apache Cordova 创建混合移动应用程序(2)
第 2 步. 为 Android 和 iOS 构建该应用程序现在已设置和配置好您的项目,可以构建该混合移动应用程序了。首先为 Android 和 iOS 设置一个构建环境,此操作只需执行一次。
配置 Android 构建环境备注:Intel x86 Emulator Accelerator(HAXM 安装程序)提供了更高的 Android 模拟器性能,但不是必须使用它。
- 下载 。
- 将 $ANDROID_HOME 解压到您最喜欢的位置,例如 /path/to/my/android-sdk-platform。
- 将 $ANDROID_HOME 添加到 PATH 环境变量,例如 export PATH=$PATH
ANDROID_HOME/tools。 - 启动 Android SDK Manager。
1
| $ANDROID_HOME/tools/android
|
- 选择下面的两个屏幕上所示的已选中选项,单击 Install 1 package...
 
|
|
|
|
|
|