Try upgrading Android Gradle Plugin version to 8.1.0 as mentioned here Firebase Initialization Crash After Updating com.google.gms:google-services to 4.4.0