version conflict either by updating the version of the google-services plugin | Ionic
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':processDebugGoogleServices'.
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 9.0.0.
ionic-framework ionic2 gradle-plugin
add a comment |
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':processDebugGoogleServices'.
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 9.0.0.
ionic-framework ionic2 gradle-plugin
Please refer this link github.com/dpa99c/cordova-plugin-request-location-accuracy/…
– hrdkisback
Dec 25 '17 at 16:21
try to replacecompile "com.google.android.gms:play-services-location:+"
tocompile "com.google.android.gms:play-services-location:9.2.0"
– chenrui
Jan 4 '18 at 21:48
any solution you found?
– Shoeb Siddique
Mar 24 '18 at 11:01
did you resolve this?
– Ross Rawlins
Aug 13 '18 at 8:55
add a comment |
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':processDebugGoogleServices'.
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 9.0.0.
ionic-framework ionic2 gradle-plugin
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':processDebugGoogleServices'.
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 9.0.0.
ionic-framework ionic2 gradle-plugin
ionic-framework ionic2 gradle-plugin
asked Dec 25 '17 at 9:22
TechValensTechValens
77215
77215
Please refer this link github.com/dpa99c/cordova-plugin-request-location-accuracy/…
– hrdkisback
Dec 25 '17 at 16:21
try to replacecompile "com.google.android.gms:play-services-location:+"
tocompile "com.google.android.gms:play-services-location:9.2.0"
– chenrui
Jan 4 '18 at 21:48
any solution you found?
– Shoeb Siddique
Mar 24 '18 at 11:01
did you resolve this?
– Ross Rawlins
Aug 13 '18 at 8:55
add a comment |
Please refer this link github.com/dpa99c/cordova-plugin-request-location-accuracy/…
– hrdkisback
Dec 25 '17 at 16:21
try to replacecompile "com.google.android.gms:play-services-location:+"
tocompile "com.google.android.gms:play-services-location:9.2.0"
– chenrui
Jan 4 '18 at 21:48
any solution you found?
– Shoeb Siddique
Mar 24 '18 at 11:01
did you resolve this?
– Ross Rawlins
Aug 13 '18 at 8:55
Please refer this link github.com/dpa99c/cordova-plugin-request-location-accuracy/…
– hrdkisback
Dec 25 '17 at 16:21
Please refer this link github.com/dpa99c/cordova-plugin-request-location-accuracy/…
– hrdkisback
Dec 25 '17 at 16:21
try to replace
compile "com.google.android.gms:play-services-location:+"
to compile "com.google.android.gms:play-services-location:9.2.0"
– chenrui
Jan 4 '18 at 21:48
try to replace
compile "com.google.android.gms:play-services-location:+"
to compile "com.google.android.gms:play-services-location:9.2.0"
– chenrui
Jan 4 '18 at 21:48
any solution you found?
– Shoeb Siddique
Mar 24 '18 at 11:01
any solution you found?
– Shoeb Siddique
Mar 24 '18 at 11:01
did you resolve this?
– Ross Rawlins
Aug 13 '18 at 8:55
did you resolve this?
– Ross Rawlins
Aug 13 '18 at 8:55
add a comment |
1 Answer
1
active
oldest
votes
Easy solution is to install this updated plugin from my github account:
Remove fcm plugin:
ionic cordova plugin remove cordova-plugin-fcm-with-dependecy-updated
And install this updated version:
ionic cordova plugin add https://github.com/ishan123456789/cordova-plugin-fcm-with-dependecy-updated.git
If the above doesn't workout for you. The hard way
A solution for the above problem as seen in some channels is to:
Go to the plugins/cordova-plugin-fcm
or plugins/cordova-plugin-fcm-with-dependency-updated
then go to src/android/FCMPlugin.gradle
And replace:
classpath 'com.google.gms:google-services:3.1.+'
With
classpath 'com.google.gms:google-services:4.1.0'
And core to:
dependencies {
compile 'com.google.firebase:firebase-core:11.8.0'
}
And plugin.xml
<framework src="com.google.firebase:firebase-core:11.8.0" />
<framework src="com.google.firebase:firebase-messaging:11.8.0" />
The replace took place as per the google service higher version. In my case the conflict was with google plus plugin so I went to plugins/cordova-plugin-googleplus
and there the google service version was
<preference name="PLAY_SERVICES_VERSION" default="11.8.0"/>
<framework src="com.google.android.gms:play-services-auth:$PLAY_SERVICES_VERSION" />
<framework src="com.google.android.gms:play-services-identity:$PLAY_SERVICES_VERSION" />
So from here the version 11.8.0
came.
https://github.com/EddyVerbruggen/cordova-plugin-googleplus/issues/283
https://github.com/fechanique/cordova-plugin-fcm/issues/231
Google Play Services GCM 10.0.1 asks to “update” back to 9.0.0
https://github.com/fechanique/cordova-plugin-fcm/issues/499
https://github.com/fechanique/cordova-plugin-fcm/issues/306
This answer was quite resourceful
com.google.android.gms:play-services-measurement-base is being requested by various other libraries
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f47967334%2fversion-conflict-either-by-updating-the-version-of-the-google-services-plugin%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Easy solution is to install this updated plugin from my github account:
Remove fcm plugin:
ionic cordova plugin remove cordova-plugin-fcm-with-dependecy-updated
And install this updated version:
ionic cordova plugin add https://github.com/ishan123456789/cordova-plugin-fcm-with-dependecy-updated.git
If the above doesn't workout for you. The hard way
A solution for the above problem as seen in some channels is to:
Go to the plugins/cordova-plugin-fcm
or plugins/cordova-plugin-fcm-with-dependency-updated
then go to src/android/FCMPlugin.gradle
And replace:
classpath 'com.google.gms:google-services:3.1.+'
With
classpath 'com.google.gms:google-services:4.1.0'
And core to:
dependencies {
compile 'com.google.firebase:firebase-core:11.8.0'
}
And plugin.xml
<framework src="com.google.firebase:firebase-core:11.8.0" />
<framework src="com.google.firebase:firebase-messaging:11.8.0" />
The replace took place as per the google service higher version. In my case the conflict was with google plus plugin so I went to plugins/cordova-plugin-googleplus
and there the google service version was
<preference name="PLAY_SERVICES_VERSION" default="11.8.0"/>
<framework src="com.google.android.gms:play-services-auth:$PLAY_SERVICES_VERSION" />
<framework src="com.google.android.gms:play-services-identity:$PLAY_SERVICES_VERSION" />
So from here the version 11.8.0
came.
https://github.com/EddyVerbruggen/cordova-plugin-googleplus/issues/283
https://github.com/fechanique/cordova-plugin-fcm/issues/231
Google Play Services GCM 10.0.1 asks to “update” back to 9.0.0
https://github.com/fechanique/cordova-plugin-fcm/issues/499
https://github.com/fechanique/cordova-plugin-fcm/issues/306
This answer was quite resourceful
com.google.android.gms:play-services-measurement-base is being requested by various other libraries
add a comment |
Easy solution is to install this updated plugin from my github account:
Remove fcm plugin:
ionic cordova plugin remove cordova-plugin-fcm-with-dependecy-updated
And install this updated version:
ionic cordova plugin add https://github.com/ishan123456789/cordova-plugin-fcm-with-dependecy-updated.git
If the above doesn't workout for you. The hard way
A solution for the above problem as seen in some channels is to:
Go to the plugins/cordova-plugin-fcm
or plugins/cordova-plugin-fcm-with-dependency-updated
then go to src/android/FCMPlugin.gradle
And replace:
classpath 'com.google.gms:google-services:3.1.+'
With
classpath 'com.google.gms:google-services:4.1.0'
And core to:
dependencies {
compile 'com.google.firebase:firebase-core:11.8.0'
}
And plugin.xml
<framework src="com.google.firebase:firebase-core:11.8.0" />
<framework src="com.google.firebase:firebase-messaging:11.8.0" />
The replace took place as per the google service higher version. In my case the conflict was with google plus plugin so I went to plugins/cordova-plugin-googleplus
and there the google service version was
<preference name="PLAY_SERVICES_VERSION" default="11.8.0"/>
<framework src="com.google.android.gms:play-services-auth:$PLAY_SERVICES_VERSION" />
<framework src="com.google.android.gms:play-services-identity:$PLAY_SERVICES_VERSION" />
So from here the version 11.8.0
came.
https://github.com/EddyVerbruggen/cordova-plugin-googleplus/issues/283
https://github.com/fechanique/cordova-plugin-fcm/issues/231
Google Play Services GCM 10.0.1 asks to “update” back to 9.0.0
https://github.com/fechanique/cordova-plugin-fcm/issues/499
https://github.com/fechanique/cordova-plugin-fcm/issues/306
This answer was quite resourceful
com.google.android.gms:play-services-measurement-base is being requested by various other libraries
add a comment |
Easy solution is to install this updated plugin from my github account:
Remove fcm plugin:
ionic cordova plugin remove cordova-plugin-fcm-with-dependecy-updated
And install this updated version:
ionic cordova plugin add https://github.com/ishan123456789/cordova-plugin-fcm-with-dependecy-updated.git
If the above doesn't workout for you. The hard way
A solution for the above problem as seen in some channels is to:
Go to the plugins/cordova-plugin-fcm
or plugins/cordova-plugin-fcm-with-dependency-updated
then go to src/android/FCMPlugin.gradle
And replace:
classpath 'com.google.gms:google-services:3.1.+'
With
classpath 'com.google.gms:google-services:4.1.0'
And core to:
dependencies {
compile 'com.google.firebase:firebase-core:11.8.0'
}
And plugin.xml
<framework src="com.google.firebase:firebase-core:11.8.0" />
<framework src="com.google.firebase:firebase-messaging:11.8.0" />
The replace took place as per the google service higher version. In my case the conflict was with google plus plugin so I went to plugins/cordova-plugin-googleplus
and there the google service version was
<preference name="PLAY_SERVICES_VERSION" default="11.8.0"/>
<framework src="com.google.android.gms:play-services-auth:$PLAY_SERVICES_VERSION" />
<framework src="com.google.android.gms:play-services-identity:$PLAY_SERVICES_VERSION" />
So from here the version 11.8.0
came.
https://github.com/EddyVerbruggen/cordova-plugin-googleplus/issues/283
https://github.com/fechanique/cordova-plugin-fcm/issues/231
Google Play Services GCM 10.0.1 asks to “update” back to 9.0.0
https://github.com/fechanique/cordova-plugin-fcm/issues/499
https://github.com/fechanique/cordova-plugin-fcm/issues/306
This answer was quite resourceful
com.google.android.gms:play-services-measurement-base is being requested by various other libraries
Easy solution is to install this updated plugin from my github account:
Remove fcm plugin:
ionic cordova plugin remove cordova-plugin-fcm-with-dependecy-updated
And install this updated version:
ionic cordova plugin add https://github.com/ishan123456789/cordova-plugin-fcm-with-dependecy-updated.git
If the above doesn't workout for you. The hard way
A solution for the above problem as seen in some channels is to:
Go to the plugins/cordova-plugin-fcm
or plugins/cordova-plugin-fcm-with-dependency-updated
then go to src/android/FCMPlugin.gradle
And replace:
classpath 'com.google.gms:google-services:3.1.+'
With
classpath 'com.google.gms:google-services:4.1.0'
And core to:
dependencies {
compile 'com.google.firebase:firebase-core:11.8.0'
}
And plugin.xml
<framework src="com.google.firebase:firebase-core:11.8.0" />
<framework src="com.google.firebase:firebase-messaging:11.8.0" />
The replace took place as per the google service higher version. In my case the conflict was with google plus plugin so I went to plugins/cordova-plugin-googleplus
and there the google service version was
<preference name="PLAY_SERVICES_VERSION" default="11.8.0"/>
<framework src="com.google.android.gms:play-services-auth:$PLAY_SERVICES_VERSION" />
<framework src="com.google.android.gms:play-services-identity:$PLAY_SERVICES_VERSION" />
So from here the version 11.8.0
came.
https://github.com/EddyVerbruggen/cordova-plugin-googleplus/issues/283
https://github.com/fechanique/cordova-plugin-fcm/issues/231
Google Play Services GCM 10.0.1 asks to “update” back to 9.0.0
https://github.com/fechanique/cordova-plugin-fcm/issues/499
https://github.com/fechanique/cordova-plugin-fcm/issues/306
This answer was quite resourceful
com.google.android.gms:play-services-measurement-base is being requested by various other libraries
edited Nov 23 '18 at 12:05
answered Nov 23 '18 at 7:07
Black MambaBlack Mamba
3,08412441
3,08412441
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f47967334%2fversion-conflict-either-by-updating-the-version-of-the-google-services-plugin%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please refer this link github.com/dpa99c/cordova-plugin-request-location-accuracy/…
– hrdkisback
Dec 25 '17 at 16:21
try to replace
compile "com.google.android.gms:play-services-location:+"
tocompile "com.google.android.gms:play-services-location:9.2.0"
– chenrui
Jan 4 '18 at 21:48
any solution you found?
– Shoeb Siddique
Mar 24 '18 at 11:01
did you resolve this?
– Ross Rawlins
Aug 13 '18 at 8:55