SMP 3.0 SP01 Kapsel 开发环境安装

来源:互联网 发布:html input name 数组 编辑:程序博客网 时间:2024/06/05 18:00

Windows 2008 R2 FP1 64位

 

安装 SMP3.0 Client SDK - 执行setupAMD64.exe,安装路径C:\SAP\MobileSDK3


安装 SMP3.0 Client SDK FP1 - 执行setupAMD64.exe


下载安装JDK 1.6 64位 (1.6.0_43)

设置JAVA_HOME环境变量


下载安装ADT Bundle for Windows,解压缩 http://developer.android.com/sdk/index.html

添加C:\adt-bundle\sdk\tools到PATH路径里面

在ADT中安装Android 4.2(API 17) 相关内容:SDK Platform,ARM EABI v7a System Image。


下载安装GIT  http://msysgit.github.io


下载安装Anthttp://ant.apache.org/manual/install.html


下载安装Node.jshttp://nodejs.org/download


4.1 Install Cordova

npm install -g cordova@3.1.0-0.2.0

提示:Cordova被安装到c:\Users\Administrator\AppData\Roaming\npm\node_modules


创建目录C:\Kapsel_Projects

命令行进入该目录,执行命令 cordova create HelloWorld com.example.helloworld "HelloWorld"

解释:cordova create <Project Folder> <Package Name> <AppName>


cd C:\Kapsel_Projects\HelloWorld

cordova -d platform add android



注意1:SMP 3.0 SP01 Kapsel plugins目前支持Cordova 3.0.1

在 SMP 3.0 SDK InfoCenter 中搜索 Cordova

搜索结果:

SAP Mobile Platform SDK 3.0 and SP01 > Installation: SAP Mobile Platform SDK for Windows 3.0 and SP01 > Upgrading to Support Package 01 > Running the Support Package Installer


注意2:Cordova 3.0.1支持Android 4.2(API 17)