Compile & Run ExampleCordova Android
ahmadarbisoft edited this page Oct 28, 2016
·
3 revisions
- Make sure your computer environment is set for latest Cordova.
- Clone the repository https://github.com/predict-io/PredictIO-Cordova-Sample.git
- Replace YOUR_API_KEY with your API_KEY provided by predict.io in "ExampleCordova\platforms\android\AndroidManifest.xml" file.
- Build (command-line: cordova build android) in ExampleCordova\ folder
- Run (command-line: cordova run android --keystore="predictiokeystore.jks" --storePassword=predictio --alias=predictio) in ExampleCordova\ folder