razorpay / razorpay-cordova-sample-app

:iphone: Razorpay Sample Application for Cordova, Ionic v1 and Ionic v2
MIT License
16 stars 35 forks source link

ionic build android (fails) #4

Closed JasimJabri closed 7 years ago

JasimJabri commented 7 years ago

ionic build android fails.

To reproduce the error.

Please download the ionic 2 sample app from https://github.com/razorpay/razorpay-cordova-sample-app and run the following commands

npm install

cd rzp-ionic2-example

mkdir www

cordova platform add android

ionic build android

Please find below excerpt from the error message:

FAILURE: Build failed with an exception.

BUILD FAILED

Total time: 2 mins 49.599 secs

Error: /home/jaz/web/rzp-ionic2-example/platforms/android/gradlew: Command failed with exit code 1 Error output: Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

mb-14 commented 7 years ago

@JasimJabri We were unable to reproduce this issue on our end. Can you run the build command with the stacktrace flag. You need to run the following commands:

cd platforms/android
./gradlew assembleDefault --stacktrace