[Aerogear-users] cordova plugin on android platform not working

Kelvin Lunsford kelvin at qantel.com
Tue Aug 11 20:13:32 EDT 2015


The new plugin version uses maven repositories for some dependent libraries.  You need to add some local repositories in Eclipse.

Go to the SDK Manager (Eclipse -> Window -> Android SDK Manager) and install Extras->Android Support Repository, and Extras->Google Repository.

That will fix "android.support" and google play services problems. I'm not sure if it will fix your "org.jboss.aerogear.android" problem.

In the new plugin version the aerogear libraries (android core, pipe, and push) are listed in a dependencies.gradle file.  If the libraries do not get pulled at install or when the repositories are added you might try doing a CLI cordova build (or maybe just a prepare) to see if they get pulled.

- Kelvin


From: aerogear-users-bounces at lists.jboss.org [mailto:aerogear-users-bounces at lists.jboss.org] On Behalf Of Rodrigo Del Canto
Sent: Thursday, July 23, 2015 7:56 AM
To: aerogear-users at lists.jboss.org
Subject: [Aerogear-users] cordova plugin on android platform not working

Hello guys,

I trying to test the Aerogear push plugin for cordova with android but is not working.

this is my configuration:

1. mac os x
2. $ cordova -v
5.1.1
 3. cordova plugin add https://github.com/aerogear/aerogear-cordova-push.git

4. I'm importing the android project to eclipse to build it there.

and I get this dependencies errors:
- The import android.support cannot be resolved
- The import org.jboss.aerogear.android cannot be resolved
[Inline image 1]

Any ideas?

Thanks a lot!
Rodrigo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20150812/6f278a68/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 87467 bytes
Desc: image002.png
Url : http://lists.jboss.org/pipermail/aerogear-users/attachments/20150812/6f278a68/attachment-0001.png 


More information about the Aerogear-users mailing list