Class file for not found

I have trying to build and old existing application that was last build in 2020 and getting below error while building APK

Task :app:compileDebugJavaWithJavac
D:\backup\EasyTrack\EasyTrackApp-20240118T062524Z-001\EasyTrackApp\EasyTrack-Platform-Added_2\EasyTrack-Platform-Added\platforms\android\app\src\main\java\org\apache\cordova\firebase\ error: cannot access zzc
public class FirebasePluginMessagingService extends FirebaseMessagingService {
class file for not found

Gradle - 8.0
IONIC - 4.12.0

Build.gradle (app)

Please suggest. was deprecated back in 2020, so you might have updated the firebase dependency but still have old code that uses it

Thanks for reply.
I do not find this in any code or importing this in angular code , I how do I find where is it used ?

Also please refer build.gradle file above ,I have updated screenshots in question.

It’s used in some firebase plugin, do you have a push notification plugin installed or a firebase analytics plugin or similar firebase service plugin?

Yes I do have below is the screenshot of plugin folder I have plus list I got from Cordova ls command.
But I am not sure why they are different, if you can point out ?

Cordova ls

cordova-plugin-firebase 2.0.5 “Google Firebase Plugin”
cordova-plugin-firebasex 13.0.1 “Google Firebase Plugin”

yeah, it’s probably those firebase plugins, since you have two is very likely that they conflict with each other as they probably use different firebase versions and since Android will pick one it makes the code not compile.

cordova-plugin-firebase is deprecated, so I would start by removing that one and see if you can do the same with just cordova-plugin-firebasex, which is out of date, you should also try to update to version 16.4.0

Thanks for the help.

I was able to resolve this
is to change

configurations.all {
resolutionStrategy {

    force '', '', '', '', '', '', '', '', ''



configurations.all {
resolutionStrategy {
In File