Fcm-plugin no compile


#1

Hi, i add /platforms/android/google-services.json, install cordova-plugin-fcm

And, when i try compile whith ionic run android

i recieve

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException:
 Multiple dex files define Lcom/google/android/gms/actions/ReserveIntents;

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Error: cmd: 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.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException:
 Multiple dex files define Lcom/google/android/gms/actions/ReserveIntents;

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Whats wrong?