I am encountering a duplicate class error for com.google.protobuf classes when using the TomTom Maps or Navigation library and Firebase libraries in my Android project. This occurs because both the TomTom library and the Firebase library seem to include their own version of Protobuf.
Current fix:
I'm currently avoiding the error by excluding the libraries causing the duplication in configurations block and the project. I'm not sure that's a good fix but the project works fine with it.
I am encountering a duplicate class error for com.google.protobuf classes when using the TomTom Maps or Navigation library and Firebase libraries in my Android project. This occurs because both the TomTom library and the Firebase library seem to include their own version of Protobuf.
Android Studio Jellyfish | 2023.3.1
kotlin version:
1.8.21
dependency versions being used:
Current fix: I'm currently avoiding the error by excluding the libraries causing the duplication in configurations block and the project. I'm not sure that's a good fix but the project works fine with it.