IBM / Ionic-MFP-App

This repository contains instructions to develop a secure, enterprise-grade Ionic/Cordova based hybrid mobile app that connects to CouchDB/Cloudant and ObjectStorage via IBM Mobile Foundation service.
https://developer.ibm.com/patterns/develop-hybrid-mobile-app-with-cloud-native-back-end/
Apache License 2.0
15 stars 25 forks source link

step 7.4 fails due to no ENV variables #5

Closed scottdangelo closed 6 years ago

scottdangelo commented 6 years ago

The build fails in step 7.4: $ ionic cordova build android This is because the ENV variables aren't set. See This Code Pattern for instructions (that you can just copy and paste to this readme) for setting: JAVA_HOME ANDROID_HOME ANDROID_SDK_HOME

After setting these, the app builds properly without error.

shivahr commented 6 years ago

After https://github.com/IBM/Ionic-MFP-App/pull/11, Readme.md in master branch now contains instructions to update ANDROID_HOME and JAVA_HOME environment variables. This should suffice to fix the cordova build problem seen in Step 7.5. @scottdangelo Can you please verify this once on your machine?

scottdangelo commented 6 years ago

LGTM