I haven't been capable of building a cordova project for android using the cordova aerogear plugin. First, the plugin is installed like this:
And the plugin is installed succesfully:
Installing "org.jboss.aerogear.cordova.push" for android
However when building for Android i always get the following errors:
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:appcompat-v7:22.+.
Searched in the following locations:
Required by:
:android:unspecified
> Could not find org.jboss.aerogear:aerogear-android-core:2.2.0-SNAPSHOT.
Searched in the following locations:
Required by:
:android:unspecified
> Could not find org.jboss.aerogear:aerogear-android-pipe:2.2.0-SNAPSHOT.
Searched in the following locations:
Required by:
:android:unspecified
> Could not find org.jboss.aerogear:aerogear-android-push:2.2.0-SNAPSHOT.
Searched in the following locations:
Required by:
:android:unspecified
I tried unistalling cordova and npm, but to no avail i haven't been capable of building an app that uses AeroGear.
Any assistance is gladly welcome.
P.S: Using Cordova 5.1.1 for Android 5.1