Error: cannot access zzbfm

Error to the general Android 8 platform

Ionic:

   Ionic CLI          : 5.4.12 (/usr/local/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.5
   @ionic/app-scripts : 3.2.4

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.1.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 2.5.3, (and 19 other plugins)

Utility:

   cordova-res : not installed
   native-run  : not installed

System:

   NodeJS : v10.17.0 (/usr/local/bin/node)
   npm    : 6.11.3
   OS     : macOS Catalina

return error

error: cannot access zzbfm
class file for com.google.android.gms.internal.zzbfm not found

The plugins I have installed are:

> cordova plugin ls
com-badrit-base64 0.2.0 "Base64"
cordova-plugin-background-mode 0.7.3 "BackgroundMode"
cordova-plugin-camera 2.4.1 "Camera"
cordova-plugin-cocoapod-support 1.6.2 "Cordova CocoaPods Dependency Support"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-facebook4 4.2.1 "Facebook Connect"
cordova-plugin-fcm-with-dependecy-updated 2.4.0 "Cordova FCM Push Plugin"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-google-analytics 1.8.6 "Google Universal Analytics Plugin"
cordova-plugin-googleplus 8.2.1 "Google SignIn"
cordova-plugin-inappbrowser 3.1.0 "InAppBrowser"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 2.5.3 "cordova-plugin-ionic-webview"
cordova-plugin-media 5.0.3 "Media"
cordova-plugin-media-capture 3.0.3 "Capture"
cordova-plugin-nativeaudio 3.0.9 "Cordova Native Audio"
cordova-plugin-network-information 2.0.2 "Network Information"
cordova-plugin-splashscreen 5.0.3 "Splashscreen"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-telerik-imagepicker 2.3.3 "ImagePicker"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-plugin-x-toast 2.7.2 "Toast"
cordova.plugins.diagnostic 3.9.2 "Diagnostic"

How did you solve it?

Hello @Kirix
The problem when building the Android application is problems between versions when:

run ionic cordova build android 8.1.0

config.xml

    <platform name="android">
        <preference name="android-minSdkVersion" value="16" />
        <preference default="27.+" name="ANDROID_SUPPORT_V4_VERSION" />
        <framework src="com.android.support:supportv4:$ANDROID_SUPPORT_V4_VERSION" />
        <preference name="loadUrlTimeoutValue" value="700000" />
        <allow-intent href="market:*" />
        ......
    </platform>
    <platform name="ios">
        <preference name="deployment-target" value="9.0" />
        <preference name="pods_use_frameworks" value="true" />
        <pod name="GoogleSignIn" version="4.4.0" />
        <allow-intent href="itms:*" />
         .....
        <edit-config file="*-Info.plist" mode="merge" target="NSCameraUsageDescription">
            <string>Tu carpintero requiere acceder a su cámara.</string>
        </edit-config>
        <edit-config file="*-Info.plist" mode="merge" target="NSMicrophoneUsageDescription">
            <string>Tu carpintero requiere acceder a su micrófono para grabar</string>
        </edit-config>
        <resource-file src="GoogleService-Info.plist" />
    </platform>
    <plugin name="cordova-plugin-whitelist" spec="^1.3.4" />
    <plugin name="cordova-plugin-statusbar" spec="^2.4.3" />
    <plugin name="cordova-plugin-device" spec="^2.0.3" />
    <plugin name="cordova-plugin-splashscreen" spec="^5.0.3" />
    <plugin name="cordova-plugin-ionic-webview" spec="^2.5.3">
        <variable name="ANDROID_SUPPORT_ANNOTATIONS_VERSION" value="27.+" />
    </plugin>
    <plugin name="cordova-plugin-ionic-keyboard" spec="^2.2.0" />
    <plugin name="cordova-plugin-inappbrowser" spec="^3.1.0" />
    <plugin name="cordova-plugin-network-information" spec="^2.0.2" />
    <plugin name="cordova-plugin-x-toast" spec="^2.7.2" />
    <plugin name="cordova-plugin-telerik-imagepicker" spec="^2.3.3">
        <variable name="PHOTO_LIBRARY_USAGE_DESCRIPTION" value="image" />
    </plugin>
    <plugin name="cordova-plugin-compat" spec="^1.2.0" />
    <plugin name="cordova-plugin-media-capture" spec="^3.0.3" />
    <plugin name="cordova-plugin-media" spec="^5.0.3">
        <variable name="KEEP_AVAUDIOSESSION_ALWAYS_ACTIVE" value="NO" />
    </plugin>
    <plugin name="cordova-plugin-nativeaudio" spec="^3.0.9" />
    <plugin name="com-badrit-base64" spec="^0.2.0" />
    <plugin name="cordova-plugin-background-mode" spec="git+https://github.com/katzer/cordova-plugin-background-mode.git" />
    <plugin name="cordova-plugin-camera" spec="^2.4.1">
        <variable name="CAMERA_USAGE_DESCRIPTION" value=" " />
        <variable name="PHOTOLIBRARY_USAGE_DESCRIPTION" value=" " />
    </plugin>
    <plugin name="cordova-plugin-cocoapod-support" spec="^1.6.2" />
    <plugin name="cordova-plugin-file" spec="^6.0.2" />
    <plugin name="cordova-plugin-fcm-with-dependecy-updated" spec="^4.1.1" />
</widget>

project.properties ANDROID PLATFORM

# Project target.
target=android-26
android.library.reference.1=CordovaLib
android.library.reference.2=app
cordova.system.library.1=com.android.support:support-v4:24.1.1+
cordova.system.library.2=com.facebook.android:facebook-android-sdk:5.5.2
cordova.system.library.3=com.google.firebase:firebase-core:10.+
cordova.system.library.4=com.google.firebase:firebase-messaging:10.+
cordova.gradle.include.1=cordova-plugin-fcm-with-dependecy-updated/tucarpintero-FCMPlugin.gradle
cordova.system.library.5=com.google.android.gms:play-services-analytics:10.0.0
cordova.system.library.6=com.google.android.gms:play-services-auth:10.0.0
cordova.system.library.7=com.google.android.gms:play-services-identity:10.0.0
cordova.system.library.8=com.android.support:support-annotations:27.+
cordova.system.library.9=com.android.support:appcompat-v7:23+
cordova.gradle.include.2=cordova-plugin-telerik-imagepicker/tucarpintero-ignorelinterrors.gradle
cordova.gradle.include.3=cordova-plugin-telerik-imagepicker/tucarpintero-androidtarget.gradle
cordova.system.library.10=com.android.support:support-v4:28.+
cordova.system.library.11=com.android.support:appcompat-v7:28.+