I am generating apk file from android studio and getting this error.
> Task :capacitor-cordova-android-plugins:compileDebugJavaWithJavac
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePlugin.java:9: error: cannot find symbol
import android.support.v4.app.NotificationManagerCompat;
symbol: class NotificationManagerCompat
location: package android.support.v4.app
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePluginMessagingService.java:11: error: cannot find symbol
import android.support.v4.app.NotificationCompat;
symbol: class NotificationCompat
location: package android.support.v4.app
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePlugin.java:370: error: cannot find symbol
NotificationManagerCompat notificationManagerCompat = NotificationManagerCompat.from(context);
symbol: class NotificationManagerCompat
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePlugin.java:370: error: cannot find symbol
NotificationManagerCompat notificationManagerCompat = NotificationManagerCompat.from(context);
symbol: variable NotificationManagerCompat
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePlugin.java:563: error: cannot find symbol
final boolean activated = FirebaseRemoteConfig.getInstance().activateFetched();
symbol: method activateFetched()
location: class FirebaseRemoteConfig
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePlugin.java:609: error: cannot find symbol
byte[] bytes = namespace == null ? FirebaseRemoteConfig.getInstance().getByteArray(key)
symbol: method getByteArray(String)
location: class FirebaseRemoteConfig
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePlugin.java:610: error: cannot find symbol
: FirebaseRemoteConfig.getInstance().getByteArray(key, namespace);
symbol: method getByteArray(String,String)
location: class FirebaseRemoteConfig
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePlugin.java:629: error: method getValue in class FirebaseRemoteConfig cannot be applied to given types;
: FirebaseRemoteConfig.getInstance().getValue(key, namespace);
required: String
found: String,String
reason: actual and formal argument lists differ in length
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePlugin.java:647: error: cannot find symbol
settings.put("developerModeEnabled", remoteConfigInfo.getConfigSettings().isDeveloperModeEnabled());
symbol: method isDeveloperModeEnabled()
location: class FirebaseRemoteConfigSettings
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePlugin.java:668: error: cannot find symbol
.setDeveloperModeEnabled(devMode);
symbol: method setDeveloperModeEnabled(boolean)
location: class Builder
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePlugin.java:669: error: cannot find symbol
FirebaseRemoteConfig.getInstance().setConfigSettings(settings.build());
symbol: method setConfigSettings(FirebaseRemoteConfigSettings)
location: class FirebaseRemoteConfig
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePlugin.java:684: error: cannot find symbol
FirebaseRemoteConfig.getInstance().setDefaults(defaultsToMap(defaults));
symbol: method setDefaults(Map<String,Object>)
location: class FirebaseRemoteConfig
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePlugin.java:686: error: cannot find symbol
FirebaseRemoteConfig.getInstance().setDefaults(defaultsToMap(defaults), namespace);
symbol: method setDefaults(Map<String,Object>,String)
location: class FirebaseRemoteConfig
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePlugin.java:885: error: cannot find symbol
myTrace.incrementCounter(counterNamed);
symbol: method incrementCounter(String)
location: variable myTrace of type Trace
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePluginMessagingService.java:128: error: package NotificationCompat does not exist
NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this, channelId);
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePluginMessagingService.java:128: error: package NotificationCompat does not exist
NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this, channelId);
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePluginMessagingService.java:137: error: cannot find symbol
.setPriority(NotificationCompat.PRIORITY_MAX);
symbol: variable NotificationCompat
location: class FirebasePluginMessagingService
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePluginMessagingService.java:133: error: package NotificationCompat does not exist
.setStyle(new NotificationCompat.BigTextStyle().bigText(messageBody))
C:\projects\siloc-ionic-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\firebase\FirebasePluginMessagingService.java:132: error: cannot find symbol
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
symbol: variable NotificationCompat
location: class FirebasePluginMessagingService
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
19 errors
> Task :capacitor-cordova-android-plugins:compileDebugJavaWithJavac FAILED
How i can resolved this error