Hello.
It was an issue when the plugin was installed on some Operating Systems.
We have a PR with the changes and will be merged soon.
On Mon, Aug 1, 2016 at 9:06 AM, Bhatt, Rohit (PPSIT) <rohit.bhatt(a)hp.com>
wrote:
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@redhat.com]
*Sent:* Thursday, July 28, 2016 2:30 AM
*To:* aerogear-users(a)lists.jboss.org
*Cc:* Bhatt, Rohit (PPSIT) <rohit.bhatt(a)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(a)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(a)lists.jboss.org [mailto:
aerogear-users-bounces(a)lists.jboss.org] *On Behalf Of *Erik Jan de Wit
*Sent:* Thursday, July 28, 2016 10:29 AM
*To:* aerogear-users(a)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(a)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(a)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(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users
--
Cheers,
Erik Jan
_______________________________________________
Aerogear-users mailing list
Aerogear-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users