<div dir="ltr">I haven&#39;t been capable of building a cordova project for android using the cordova aerogear plugin. First, the plugin is installed like this:<div><br></div><div><b>cordova plugin add <a href="https://github.com/aerogear/aerogear-pushplugin-cordova.git">https://github.com/aerogear/aerogear-pushplugin-cordova.git</a></b><br></div><div><br></div><div>And the plugin is installed succesfully:</div><div><br></div><div><div><i>Fetching plugin &quot;<a href="https://github.com/aerogear/aerogear-pushplugin-cordova.git">https://github.com/aerogear/aerogear-pushplugin-cordova.git</a>&quot; via git clone</i></div><div><i>Repository &quot;<a href="https://github.com/aerogear/aerogear-pushplugin-cordova.git">https://github.com/aerogear/aerogear-pushplugin-cordova.git</a>&quot; checked out to git ref &quot;master&quot;.</i></div><div><i>Installing &quot;org.jboss.aerogear.cordova.push&quot; for android</i></div><div><i>Fetching plugin &quot;<a href="https://github.com/vstirbu/PromisesPlugin.git">https://github.com/vstirbu/PromisesPlugin.git</a>&quot; via git clone</i></div><div><i>Repository &quot;<a href="https://github.com/vstirbu/PromisesPlugin.git">https://github.com/vstirbu/PromisesPlugin.git</a>&quot; checked out to git ref &quot;master&quot;.</i></div></div><div><br></div><div>However when building for Android i always get the following errors:</div><div><div><br></div><div><i>FAILURE: Build failed with an exception.</i></div><div><i><br></i></div><div><i>* What went wrong:</i></div><div><i>A problem occurred configuring root project &#39;android&#39;.</i></div><div><i>&gt; Could not resolve all dependencies for configuration &#39;:_debugCompile&#39;.</i></div><div><i>   &gt; Could not find any version that matches com.android.support:appcompat-v7:22.+.</i></div><div><i>     Searched in the following locations:</i></div><div><i>         <a href="https://repo1.maven.org/maven2/com/android/support/appcompat-v7/maven-metadata.xml">https://repo1.maven.org/maven2/com/android/support/appcompat-v7/maven-metadata.xml</a></i></div><div><i>         <a href="https://repo1.maven.org/maven2/com/android/support/appcompat-v7/">https://repo1.maven.org/maven2/com/android/support/appcompat-v7/</a></i></div><div><i>     Required by:</i></div><div><i>         :android:unspecified</i></div><div><i>   &gt; Could not find org.jboss.aerogear:aerogear-android-core:2.2.0-SNAPSHOT.</i></div><div><i>     Searched in the following locations:</i></div><div><i>         <a href="https://repo1.maven.org/maven2/org/jboss/aerogear/aerogear-android-core/2.2.0-SNAPSHOT/maven-metadata.xml">https://repo1.maven.org/maven2/org/jboss/aerogear/aerogear-android-core/2.2.0-SNAPSHOT/maven-metadata.xml</a></i></div><div><i>         <a href="https://repo1.maven.org/maven2/org/jboss/aerogear/aerogear-android-core/2.2.0-SNAPSHOT/aerogear-android-core-2.2.0-SNAPSHOT.pom">https://repo1.maven.org/maven2/org/jboss/aerogear/aerogear-android-core/2.2.0-SNAPSHOT/aerogear-android-core-2.2.0-SNAPSHOT.pom</a></i></div><div><i>         <a href="https://repo1.maven.org/maven2/org/jboss/aerogear/aerogear-android-core/2.2.0-SNAPSHOT/aerogear-android-core-2.2.0-SNAPSHOT.jar">https://repo1.maven.org/maven2/org/jboss/aerogear/aerogear-android-core/2.2.0-SNAPSHOT/aerogear-android-core-2.2.0-SNAPSHOT.jar</a></i></div><div><i>     Required by:</i></div><div><i>         :android:unspecified</i></div><div><i>   &gt; Could not find org.jboss.aerogear:aerogear-android-pipe:2.2.0-SNAPSHOT.</i></div><div><i>     Searched in the following locations:</i></div><div><i>         <a href="https://repo1.maven.org/maven2/org/jboss/aerogear/aerogear-android-pipe/2.2.0-SNAPSHOT/maven-metadata.xml">https://repo1.maven.org/maven2/org/jboss/aerogear/aerogear-android-pipe/2.2.0-SNAPSHOT/maven-metadata.xml</a></i></div><div><i>         <a href="https://repo1.maven.org/maven2/org/jboss/aerogear/aerogear-android-pipe/2.2.0-SNAPSHOT/aerogear-android-pipe-2.2.0-SNAPSHOT.pom">https://repo1.maven.org/maven2/org/jboss/aerogear/aerogear-android-pipe/2.2.0-SNAPSHOT/aerogear-android-pipe-2.2.0-SNAPSHOT.pom</a></i></div><div><i>         <a href="https://repo1.maven.org/maven2/org/jboss/aerogear/aerogear-android-pipe/2.2.0-SNAPSHOT/aerogear-android-pipe-2.2.0-SNAPSHOT.jar">https://repo1.maven.org/maven2/org/jboss/aerogear/aerogear-android-pipe/2.2.0-SNAPSHOT/aerogear-android-pipe-2.2.0-SNAPSHOT.jar</a></i></div><div><i>     Required by:</i></div><div><i>         :android:unspecified</i></div><div><i>   &gt; Could not find org.jboss.aerogear:aerogear-android-push:2.2.0-SNAPSHOT.</i></div><div><i>     Searched in the following locations:</i></div><div><i>         <a href="https://repo1.maven.org/maven2/org/jboss/aerogear/aerogear-android-push/2.2.0-SNAPSHOT/maven-metadata.xml">https://repo1.maven.org/maven2/org/jboss/aerogear/aerogear-android-push/2.2.0-SNAPSHOT/maven-metadata.xml</a></i></div><div><i>         <a href="https://repo1.maven.org/maven2/org/jboss/aerogear/aerogear-android-push/2.2.0-SNAPSHOT/aerogear-android-push-2.2.0-SNAPSHOT.pom">https://repo1.maven.org/maven2/org/jboss/aerogear/aerogear-android-push/2.2.0-SNAPSHOT/aerogear-android-push-2.2.0-SNAPSHOT.pom</a></i></div><div><i>         <a href="https://repo1.maven.org/maven2/org/jboss/aerogear/aerogear-android-push/2.2.0-SNAPSHOT/aerogear-android-push-2.2.0-SNAPSHOT.jar">https://repo1.maven.org/maven2/org/jboss/aerogear/aerogear-android-push/2.2.0-SNAPSHOT/aerogear-android-push-2.2.0-SNAPSHOT.jar</a></i></div><div><i>     Required by:</i></div><div><i>         :android:unspecified</i></div></div><div><br></div><div>I tried unistalling cordova and npm, but to no avail i haven&#39;t been capable of building an app that uses AeroGear.</div><div><br></div><div>Any assistance is gladly welcome.</div><div><br></div><div><b>P.S</b>: Using Cordova 5.1.1 for Android 5.1</div><div><br></div><div><br></div></div>