[Aerogear-users] Aerogear issue for project creation - Push plugin

Bhatt, Rohit (PPSIT) rohit.bhatt at hp.com
Mon Aug 1 03:06:10 EDT 2016


HI,

We installed the Android SDK files by executing the command android update sdk --no-ui --filter "extra"


Still getting the issue, below:


>cordova build android

ANDROID_HOME=C:\AndroidSDK
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_60

FAILURE: Build failed with an exception.

* Where:
Script 'C:\Users\bhattro\Desktop\WKSPS\CrdvUpd\platforms\android\aerogear-cordova-push\hellocordova-dependencies.gradle' line: 15

* What went wrong:
A problem occurred evaluating root project 'android'.
> Failed to apply plugin [id 'com.google.gms.google-services']
   > Plugin with id 'com.google.gms.google-services' not found.

* Try:

BUILD FAILED

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 10.15 secs
Error: Error code 1 for command: cmd with args: /s,/c,"C:\Users\bhattro\Desktop\WKSPS\CrdvUpd\platforms\android\gradlew cdvBuildDebug -b C:\
Users\bhattro\Desktop\WKSPS\CrdvUpd\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"

C:\Users\bhattro\Desktop\WKSPS\CrdvUpd>cordova build androidcordova build android











From: Julio Cesar Sanchez Hernandez [mailto:jusanche at redhat.com]
Sent: Thursday, July 28, 2016 2:30 AM
To: aerogear-users at lists.jboss.org
Cc: Bhatt, Rohit (PPSIT) <rohit.bhatt at hp.com>
Subject: Re: [Aerogear-users] Aerogear issue for project creation - Push plugin

Hi,

Try running this command to install all the Android SDK files needed to use push notifications


android update sdk --no-ui --filter "extra"

On Thu, Jul 28, 2016 at 7:57 AM, Prasad, Ganesh <ganesh.prasad1 at hp.com<mailto:ganesh.prasad1 at hp.com>> wrote:
Android SDK – t arget=android-23


Cordova version – 6.2.0

Please let us know if you need more info

Thanks
ganesh
From: aerogear-users-bounces at lists.jboss.org<mailto:aerogear-users-bounces at lists.jboss.org> [mailto:aerogear-users-bounces at lists.jboss.org<mailto:aerogear-users-bounces at lists.jboss.org>] On Behalf Of Erik Jan de Wit
Sent: Thursday, July 28, 2016 10:29 AM
To: aerogear-users at lists.jboss.org<mailto:aerogear-users at lists.jboss.org>
Subject: Re: [Aerogear-users] Aerogear issue for project creation - Push plugin

Hi,

What is the version of you cordova-android platform e.g. what version of cordova do you have?

On Wed, Jul 27, 2016 at 9:57 PM, Matthias Wessendorf <matzew at apache.org<mailto:matzew at apache.org>> wrote:
Hello,

what's the SDK android version (and build tools) you have installed?

-Matthias

On Wed, Jul 27, 2016 at 7:48 PM, Prasad, Ganesh <ganesh.prasad1 at hp.com<mailto:ganesh.prasad1 at hp.com>> wrote:


n Aerogear Push, while project creation:

After executing following 5 basic commands, build fails with following error:




1.  >cordova create MyApp

2.  >cd MyCrdvaApp

3.  >cordova platform add android

4.  >cordova plugin add https://github.com/aerogear/aerogear-cordova-push.git

5.  >cordova build android


FAILURE: Build failed with an exception.

* Where:
Script '~\WKSPS\MyCrdvaApp\platforms\android\aerogear-cordova-push\hellocordova-dependencies.gradle' line: 15

* What went wrong:
A problem occurred evaluating root project 'android'.
> Failed to apply plugin [id 'com.google.gms.google-services']
   > Plugin with id 'com.google.gms.google-services' not found.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 4.376 secs



Thanks
ganesh

_______________________________________________
Aerogear-users mailing list
Aerogear-users at lists.jboss.org<mailto:Aerogear-users at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/aerogear-users



--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
twitter: http://twitter.com/mwessendorf

_______________________________________________
Aerogear-users mailing list
Aerogear-users at lists.jboss.org<mailto:Aerogear-users at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/aerogear-users



--
Cheers,
       Erik Jan

_______________________________________________
Aerogear-users mailing list
Aerogear-users at lists.jboss.org<mailto:Aerogear-users at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/aerogear-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20160801/b15a450e/attachment-0001.html 


More information about the Aerogear-users mailing list