<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi !</div><div>The plugin from GitHub master relies on an aerogear android library with a snapshot version that is not on maven.&nbsp;</div><div>The easiest way is to install the plugin &nbsp;from cordova's registry :</div><div><br></div><div><span style="background-color: rgba(255, 255, 255, 0);">cordova plugin add org.jboss.aerogear.cordova.push</span></div><div><br></div><div>If you really need the master version of the plugi. You will need to build all the android lib locally.</div><div>Sebi</div><div><br></div><div><br>Envoyé de mon iPhone</div><div><br>Le 22 juin 2015 à 02:34, Fabio Turizo &lt;<a href="mailto:fabio.turizo@gmail.com">fabio.turizo@gmail.com</a>&gt; a écrit&nbsp;:<br><br></div><blockquote type="cite"><div><div dir="ltr">I haven'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 "<a href="https://github.com/aerogear/aerogear-pushplugin-cordova.git">https://github.com/aerogear/aerogear-pushplugin-cordova.git</a>" via git clone</i></div><div><i>Repository "<a href="https://github.com/aerogear/aerogear-pushplugin-cordova.git">https://github.com/aerogear/aerogear-pushplugin-cordova.git</a>" checked out to git ref "master".</i></div><div><i>Installing "org.jboss.aerogear.cordova.push" for android</i></div><div><i>Fetching plugin "<a href="https://github.com/vstirbu/PromisesPlugin.git">https://github.com/vstirbu/PromisesPlugin.git</a>" via git clone</i></div><div><i>Repository "<a href="https://github.com/vstirbu/PromisesPlugin.git">https://github.com/vstirbu/PromisesPlugin.git</a>" checked out to git ref "master".</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 'android'.</i></div><div><i>&gt; Could not resolve all dependencies for configuration ':_debugCompile'.</i></div><div><i>&nbsp; &nbsp;&gt; Could not find any version that matches com.android.support:appcompat-v7:22.+.</i></div><div><i>&nbsp; &nbsp; &nbsp;Searched in the following locations:</i></div><div><i>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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>&nbsp; &nbsp; &nbsp;Required by:</i></div><div><i>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:android:unspecified</i></div><div><i>&nbsp; &nbsp;&gt; Could not find org.jboss.aerogear:aerogear-android-core:2.2.0-SNAPSHOT.</i></div><div><i>&nbsp; &nbsp; &nbsp;Searched in the following locations:</i></div><div><i>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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>&nbsp; &nbsp; &nbsp;Required by:</i></div><div><i>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:android:unspecified</i></div><div><i>&nbsp; &nbsp;&gt; Could not find org.jboss.aerogear:aerogear-android-pipe:2.2.0-SNAPSHOT.</i></div><div><i>&nbsp; &nbsp; &nbsp;Searched in the following locations:</i></div><div><i>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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>&nbsp; &nbsp; &nbsp;Required by:</i></div><div><i>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:android:unspecified</i></div><div><i>&nbsp; &nbsp;&gt; Could not find org.jboss.aerogear:aerogear-android-push:2.2.0-SNAPSHOT.</i></div><div><i>&nbsp; &nbsp; &nbsp;Searched in the following locations:</i></div><div><i>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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>&nbsp; &nbsp; &nbsp;Required by:</i></div><div><i>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:android:unspecified</i></div></div><div><br></div><div>I tried unistalling cordova and npm, but to no avail i haven'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>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Aerogear-users mailing list</span><br><span><a href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-users">https://lists.jboss.org/mailman/listinfo/aerogear-users</a></span><br></div></blockquote></body></html>