Closed knikolou closed 5 years ago
Hi Knikolou
This conflict is due to com.google.android.gms:play-services-gcm version with other plugins or it may due to your android version environment.
We recommend to install the plugin locally.
Please download the plugin and change the required version of com.google.android.gms:play-services-gcm in path ‘/src/android/Freshchat/build.gradle
Example : compile 'com.google.android.gms:play-services-gcm:____’
Refer : https://developers.google.com/android/guides/setup
And install the plugin using command:
cordova plugin add “../local_pathtoPluginFolder/”
Kindly let us know if you have any query.
Thanks.
We are not getting any feedback and we are closing this issue.
Dear i am getting this error when compile after freshchat install my instalation is a)
b)document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
window.Freshchat.init({
appId : "xxxxxxxxxxxxxxxxxxxxx",
appKey : "xxxxxxxxxxxxxxxxxxxx",
});
and the error
BUILD FAILED
Total time: 2.351 secs
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':processDebugGoogleServices'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Error: /gradlew: Command failed with exit code 1 Error output: Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':processDebugGoogleServices'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. at ChildProcess.whenDone (/cordova/node_modules/cordova-common/src/superspawn.js:169:23) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at maybeClose (internal/child_process.js:877:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)