Quantcast

[Aerogear-users] Adding plugin aerogear-cordova-push is failing - dependency issues ?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Aerogear-users] Adding plugin aerogear-cordova-push is failing - dependency issues ?

Mohamed Mostafa
Hello All, I hope this email finds you all well ...

I've been trying to add the aerogear cordova push plugin to my cordova app for multiple days now, but it is always failing.
Just using the simple comand
gives me the error:
Fetching plugin "https://github.com/vstirbu/PromisesPlugin.git" via git clone
Error during processing of action! Attempting to revert...
Failed to install 'aerogear-cordova-push':Error: Uh oh!
cannot find "C:\Work\g2g\git_repository\g2g-customer\platforms\android\aerogear-cordova-push\dependencies.gradle\project.properties" referenced in <framework>
    at Object.AndroidProject.addSubProject (C:\Users\IBM_ADMIN\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\util\android-project.js:70:51)

Please help


Best Regards,
Mohamed Mostafa
IT Architect - IBM Egypt

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Aerogear-users] Adding plugin aerogear-cordova-push is failing - dependency issues ?

Erik Jan de Wit
Sorry to hear that, what version are you using? I did the following:

cordova -v

6.1.1

cordova create test

Creating a new cordova project.

/tmp cd test

/t/test cordova plugin add https://github.com/aerogear/aerogear-cordova-push.git                                                

Fetching plugin "https://github.com/aerogear/aerogear-cordova-push.git" via git clone

Repository "https://github.com/aerogear/aerogear-cordova-push.git" checked out to git ref "master".

/t/test cordova platform add android

Adding android project...

Creating Cordova project for the Android platform:

Path: ../../../tmp/test/platforms/android

Package: io.cordova.hellocordova

Name: HelloCordova

Activity: MainActivity

Android target: android-23

Android project created with cordova-android@5.1.1

Installing "aerogear-cordova-push" for android

Fetching plugin "https://github.com/vstirbu/PromisesPlugin.git" via git clone

Repository "https://github.com/vstirbu/PromisesPlugin.git" checked out to git ref "master".

Installing "es6-promise-plugin" for android

Discovered plugin "cordova-plugin-whitelist" in config.xml. Installing to the project

Fetching plugin "cordova-plugin-whitelist@1" via npm

Installing "cordova-plugin-whitelist" for android


               This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.

          

/t/test cordova build

ANDROID_HOME=/Users/edewit/Library/Developer/Xamarin/android-sdk-macosx

JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home

:preBuild UP-TO-DATE

:preDebugBuild UP-TO-DATE

...

BUILD SUCCESSFUL


Total time: 2 mins 26.777 secs

Built the following apk(s): 

/private/tmp/test/platforms/android/build/outputs/apk/android-debug.apk


On Sat, Apr 2, 2016 at 11:53 PM, Mohamed Mostafa <[hidden email]> wrote:
Hello All, I hope this email finds you all well ...

I've been trying to add the aerogear cordova push plugin to my cordova app for multiple days now, but it is always failing.
Just using the simple comand
gives me the error:
Fetching plugin "https://github.com/vstirbu/PromisesPlugin.git" via git clone
Error during processing of action! Attempting to revert...
Failed to install 'aerogear-cordova-push':Error: Uh oh!
cannot find "C:\Work\g2g\git_repository\g2g-customer\platforms\android\aerogear-cordova-push\dependencies.gradle\project.properties" referenced in <framework>
    at Object.AndroidProject.addSubProject (C:\Users\IBM_ADMIN\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\util\android-project.js:70:51)

Please help


Best Regards,
Mohamed Mostafa
IT Architect - IBM Egypt

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users




--
Cheers,
       Erik Jan

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Loading...