Follow the additional steps to set up your AppBuilder environment.
"httpProxy": { "host":"proxy.sin.sap.corp", "port":8080, "upBase64":"", "user":"", "password":", }
AppBuilder enables you to create an Apache Cordova project from your AppBuilder project. You can also add Kapsel plugins to your Cordova project. Kapsel, a component of SAPĀ® Mobile Platform SDK, leverages the Cordova application container and provides SAP plugins to make the Cordova container enterprise-grade, allowing it to more seamlessly integrate with SAP Mobile Platform Server. The Kapsel plugins provide capabilities like application life cycle management, implementation of a common logon manager and single sign-on (SSO), integration with SAP Mobile Platform Server-based push notifications, and so on.
Prior to deploying your AppBuilder applications to Kapsel on SAP Mobile Platform, the following prerequisites must be met:
For information about installing and setting up SAP Mobile Platform Server and SAP Mobile Platform SDK, see specific documentation for SAP Mobile Platform Server and SAP Mobile Platform SDK.
For Windows:
git config --global http.proxy <proxy server:port> git config --global https.proxy <proxy server:port>
For Mac:
sudo git config --global http.proxy <proxy server:port> sudo git config --global https.proxy <proxy server:port>
On Windows: npm install -g cordova@<latest_supported_version>
On Mac:sudo npm install -g cordova@<latest_supported_version>
-g indicates that Apache Cordova should be installed globally.
sudo chown -R user_name /usr/local/lib/node_modules/cordovaYou can copy the command text from the error message and paste it at the command prompt at the bottom of the terminal window.
cordova -v
To install the Kapsel CLI:
On Windows: npm install -g C:\<SAPMobileSDK_Home>\MobileSDK3\Kapsel\CLI
On Mac:sudo npm install -g C:\<SAPMobileSDK_Home>\MobileSDK3\Kapsel\CLI
sudo chown -R user_name /usr/local/lib/node_modules/cordovaYou can copy the command text from the error message and paste it at the command prompt at the bottom of the terminal window.
kapsel package
To install the Xcode Command Line Tools on Mac:
On Windows, add <Android SDK Location>\tools to the PATH environment variable.
On Mac, open a terminal window and enter export PATH=$PATH:<path to Android SDK>/tools.