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 Any ideas? Thanks a lot! Rodrigo. _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
Hey Rodrigo, Looking for you screenshot Cordova is creating the Android skeleton for Android Studio not for eclipse. (See gradle) On Thu, Jul 23, 2015 at 11:55 AM, Rodrigo Del Canto <[hidden email]> wrote:
-- -- Passos _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
In reply to this post by Rodrigo Del Canto
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: [hidden email] [mailto:[hidden email]]
On Behalf Of Rodrigo Del Canto 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 Any ideas? Thanks a lot! Rodrigo. _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
Hi You don't need to open the project with eclipse you can build and deploy with the cordova command line, if you want to use eclipse to open the project I suggest installing Thym (eclipse plugin for cordova) Cheers, Erik Jan _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
Free forum by Nabble | Edit this page |