I created a starter template using ionic start ionicpush push
When i run the command ionic build android with making any changes in the app, i am getting the following errors. I am unable to build for android, but i am able to build for iOS.
Running command: /Users/rajeshwar/workspace/others/ionicpush/hooks/after_prepare/010_add_platform_class.js /Users/rajeshwar/workspace/others/ionicpush
add to body class: platform-android
Running command: /Users/rajeshwar/workspace/others/ionicpush/platforms/android/cordova/build
Running: /Users/rajeshwar/workspace/others/ionicpush/platforms/android/gradlew cdvBuildDebug -b /Users/rajeshwar/workspace/others/ionicpush/platforms/android/build.gradle -Dorg.gradle.daemon=true
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project ‘android’.
Could not resolve all dependencies for configuration ‘:_debugCompile’.
Could not find any version that matches com.android.support:support-v4:+.
Searched in the following locations:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 9.408 secs
Does any one has a solution for this?