I had been using phonegap-plugin-push successfully. Having upgraded to Ionic 1.7.15 the app was no longer registering correctly. I removed and re-added the plugin and now the app will not build. Without it, the build runs fine, with it I get the following error:
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 com.android.support:support-v4:23.4.0.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-v4/23.4.0/support-v4-23.4.0.pom
https://repo1.maven.org/maven2/com/android/support/support-v4/23.4.0/support-v4-23.4.0.aar
file:/C:/Users/User/AppData/Local/Android/sdk/extras/android/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.pom
file:/C:/Users/User/AppData/Local/Android/sdk/extras/android/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.aar
file:/C:/Users/User/AppData/Local/Android/sdk/extras/google/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.pom
file:/C:/Users/User/AppData/Local/Android/sdk/extras/google/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.aar
Required by:
:android:unspecified > com.android.support:support-v13:23.1.0
> Could not find com.android.support:support-v4:23.4.0.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-v4/23.4.0/support-v4-23.4.0.pom
https://repo1.maven.org/maven2/com/android/support/support-v4/23.4.0/support-v4-23.4.0.aar
file:/C:/Users/User/AppData/Local/Android/sdk/extras/android/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.pom
file:/C:/Users/User/AppData/Local/Android/sdk/extras/android/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.aar
file:/C:/Users/User/AppData/Local/Android/sdk/extras/google/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.pom
file:/C:/Users/User/AppData/Local/Android/sdk/extras/google/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.aar
Required by:
:android:unspecified > com.google.android.gms:play-services-gcm:8.1.0 > com.google.android.gms:play-services-base:8.1.0 > com.google.android.gms:play-services-basement:8.1.0
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 5.161 secs
Error: Error code 1 for command: cmd with args: /s,/c,"C:\cursedearth\code\hubcontroller_ionic\hubdeployfix\platforms\android\gradlew cdvBuildDebug -b C:\cursedearth\code\hubcontroller_ionic\hubdeployfix\platforms\android\build.gradle -PcdvBuildArch=x86 -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"