Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error on Android with Nativescript 3.0 #16

Open
francorobles opened this issue Aug 20, 2017 · 2 comments
Open

Build Error on Android with Nativescript 3.0 #16

francorobles opened this issue Aug 20, 2017 · 2 comments

Comments

@francorobles
Copy link

Can build on Android. With the below error.
Failed to apply plugin [id 'com.google.gms.google-services']
Warning: >
Warning: Version: 7.8.0 is lower than the minimum version (9.0.0) required for google-services plugin.

@spike1292
Copy link
Member

I'm not able to replicate the issue.
I think it not related to Nativescript but rather the version of the urban airship sdk and the android sdk version installed on your machine.

You could try to update the urban airship sdk and play services here:

compile "com.urbanairship.android:urbanairship-sdk:8.2.5"
// Required for GCM
compile "com.google.android.gms:play-services-gcm:7.8.0"

with this:

compile 'com.urbanairship.android:urbanairship-sdk:8.6.+'
compile 'com.google.android.gms:play-services-gcm:11.0.1'

Let me know if this solves the problem. I will gladly accept a PR 😉

@francorobles
Copy link
Author

Hello @spike1292, got a new error.

Class com.google.android.gms.iid.zzc conflict: /mnt/storage/builds//1f6b1e25f09bbabf1e4d02f53dc071510302748e/NativeScript300/output/NativeScript300/platforms/android/build/intermediates/exploded-aar/com.google.android.gms/play-services-tasks/11.0.1/jars/classes.jar and /mnt/storage/builds//1f6b1e25f09bbabf1e4d02f53dc071510302748e/NativeScript300/output/NativeScript300/platforms/android/build/intermediates/exploded-aar/com.google.android.gms/play-services-iid/9.8.0/jars/classes.jar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants