<div dir="ltr">I tried installing the plugin as you instructed, but i get the following error:<div><br></div><div><div><i>WARNING: org.jboss.aerogear.cordova.push has been renamed to aerogear-cordova-push. You may not be getting the latest version! We suggest you `cordova plugin rm org.jboss.aerogear.cordova.push` and `cordova plugin add aerogear-cordova-push`.</i></div><div><i>Fetching plugin &quot;org.jboss.aerogear.cordova.push&quot; via cordova plugins registry</i></div><div><i>npm http GET <a href="http://registry.cordova.io/org.jboss.aerogear.cordova.push">http://registry.cordova.io/org.jboss.aerogear.cordova.push</a></i></div><div><i>npm http 304 <a href="http://registry.cordova.io/org.jboss.aerogear.cordova.push">http://registry.cordova.io/org.jboss.aerogear.cordova.push</a></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><i>Installing &quot;com.vladstirbu.cordova.promise&quot; for android</i></div><div><i>Fetching plugin &quot;<a href="https://github.com/MobileChromeApps/cordova-plugin-android-support-v4">https://github.com/MobileChromeApps/cordova-plugin-android-support-v4</a>&quot; via git clone</i></div><div><i>Failed to install &#39;org.jboss.aerogear.cordova.push&#39;:Error: C:\Program Files (x86)\Git\cmd\git.exe: Command failed with exit code 128 Error output:</i></div><div><i>Cloning into &#39;C:\Users\fturizo\AppData\Local\Temp\git\1434978837894&#39;...</i></div><div><i>warning: Could not find remote branch 8670959210f07f5a483e40b7fbfdb8ca5a50d3f to clone.</i></div><div><i>fatal: Remote branch 8670959210f07f5a483e40b7fbfdb8ca5a50d3f not found in upstream origin</i></div><div><i>Unexpected end of command stream</i></div><div><i>    at ChildProcess.whenDone (C:\Users\fturizo\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:134:23)</i></div><div><i>    at ChildProcess.emit (events.js:110:17)</i></div><div><i>    at maybeClose (child_process.js:1015:16)</i></div><div><i>    at Process.ChildProcess._handle.onexit (child_process.js:1087:5)</i></div><div><i>Error: C:\Program Files (x86)\Git\cmd\git.exe: Command failed with exit code 128 Error output:</i></div><div><i>Cloning into &#39;C:\Users\fturizo\AppData\Local\Temp\git\1434978837894&#39;...</i></div><div><i>warning: Could not find remote branch 8670959210f07f5a483e40b7fbfdb8ca5a50d3f to clone.</i></div><div><i>fatal: Remote branch 8670959210f07f5a483e40b7fbfdb8ca5a50d3f not found in upstream origin</i></div><div><i>Unexpected end of command stream</i></div><div><i>    at ChildProcess.whenDone (C:\Users\fturizo\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:134:23)</i></div><div><i>    at ChildProcess.emit (events.js:110:17)</i></div><div><i>    at maybeClose (child_process.js:1015:16)</i></div><div><i>    at Process.ChildProcess._handle.onexit (child_process.js:1087:5)</i></div></div><div><br></div><div>I&#39;m getting this error in multiple workstations, so i&#39;m assuming the plugin installation has issues.</div></div><br><div class="gmail_quote"><div dir="ltr">El dom., 21 de jun. de 2015 a la(s) 11:32 p. m., Sébastien Blanc &lt;<a href="mailto:scm.blanc@gmail.com">scm.blanc@gmail.com</a>&gt; escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div 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. </div><div>The easiest way is to install the plugin  from cordova&#39;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><div dir="auto"><div><br>Le 22 juin 2015 à 02:34, Fabio Turizo &lt;<a href="mailto:fabio.turizo@gmail.com" target="_blank">fabio.turizo@gmail.com</a>&gt; a écrit :<br><br></div><blockquote type="cite"><div><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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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/" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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>
</div></blockquote></div><div dir="auto"><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Aerogear-users mailing list</span><br><span><a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a></span><br></div></blockquote></div>_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
</blockquote></div>