-
Notifications
You must be signed in to change notification settings - Fork 519
Open
Description
Hi.
I can't build project with this error.
Error: more than one library with package name 'com.google.android.gms.license'
Yesterday I could build my project with any problem, but suddenly today morning I can't build the project.
The sources are same with yesterday`s. I did not changed a single line.
I couldn't find any clue of package com.google.android.gms.license form google search.
I know that multiple packages using com.google.android.gms can cause dependency problem, so I configured build.gradle so that not conflict each other, and it worked till today morning.
But what iscom.google.android.gms.license ? No search results on google.
How can I fix this? Any Help?
configurations
-
Windows 10
-
package.json
"dependencies": {
...
"react-native": "0.54.2",
"react-native-admob": "^2.0.0-beta.3",
...
}
- Errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-admob:processReleaseResources'.
> Error: more than one library with package name 'com.google.android.gms.license'
- build.gradle
- in
gradle.propertiesgooglePlayServicesVersion=11.8.0
dependencies {
...
compile(project(':react-native-admob')) {
exclude group: 'com.google.android.gms'
}
compile "com.google.android.gms:play-services-ads:$googlePlayServicesVersion"
compile(project(':react-native-maps')) {
exclude group: 'com.google.android.gms'
}
compile "com.google.android.gms:play-services-base:$googlePlayServicesVersion"
compile "com.google.android.gms:play-services-maps:$googlePlayServicesVersion"
compile(project(':react-native-onesignal')) {
exclude group: 'com.google.android.gms'
}
compile "com.google.android.gms:play-services-gcm:$googlePlayServicesVersion"
compile "com.google.android.gms:play-services-analytics:$googlePlayServicesVersion"
compile "com.google.android.gms:play-services-location:$googlePlayServicesVersion"
compile(project(':react-native-google-sign-in')) {
exclude group: 'com.google.android.gms'
}
compile "com.google.android.gms:play-services-auth:$googlePlayServicesVersion"
...
}
Rebsos, Furqankhanzada, dardolanda and ErlanBelekov
Metadata
Metadata
Assignees
Labels
No labels