I'm building a hybrid app using ionic framework. I did installed npm,cordova, ionic and android sdk. also I have set the environment variables. I was able to run following commands
- ionic start todo blank
- cd todo
- ionic platform add android
but when I run ionic build android The build fails.
BUILD FAILED
Total time: 29.551 secs FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring root project 'android'.
java.lang.NullPointerException (no error message)
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Error: cmd: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring root project 'android'.
java.lang.NullPointerException (no error message)
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.