ionic cordova plugin remove cordova-plugin-firebase-crashlytics
npm uninstall @ionic-native/firebase-crashlytics
FAILURE: Build failed with an exception.
-
Where:
Script ‘D:\unis\platforms\android\cordova-plugin-firebasex\sms-build.gradle’ line: 20 -
What went wrong:
A problem occurred evaluating script.
Failed to apply plugin [class ‘com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsPlugin’]
Crashlytics was applied to a project without an Android plugin. Please make sure the Crashlytics plugin is applied after the appropriate Android plugin for your project.
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 3s
D:\unis\platforms\android\gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
-
Where:
Script ‘D:\unis\platforms\android\cordova-plugin-firebasex\sms-build.gradle’ line: 20 -
What went wrong:
A problem occurred evaluating script.
Failed to apply plugin [class ‘com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsPlugin’]
Crashlytics was applied to a project without an Android plugin. Please make sure the Crashlytics plugin is applied after the appropriate Android plugin for your project.
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 3s
[ERROR] An error occurred while running subprocess cordova.
cordova.cmd build android exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
(I am getting this when i try to build apk anyone can please help me to solve this issues. )