You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add boofcv-core library to my Android project. boofcv-android works fine but boofcv-core generates the following error: java.lang.RuntimeException: Duplicate class com.google.protobuf.AbstractMessageLite found in modules protobuf-java-3.17.3.jar (com.google.protobuf:protobuf-java:3.17.3) and protobuf-javalite-3.14.0.jar (com.google.protobuf:protobuf-javalite:3.14.0)...
com.google.firebase:firebase-config uses protobuf-javalite and I can`t remove that library from the project.
Left a comment on stack, but you would probably be better off excluding the transitive dependency when calling implementation. Worried you might be including two versions of protobuf, but avoiding a compile time error.
I'm trying to add boofcv-core library to my Android project. boofcv-android works fine but boofcv-core generates the following error:
java.lang.RuntimeException: Duplicate class com.google.protobuf.AbstractMessageLite found in modules protobuf-java-3.17.3.jar (com.google.protobuf:protobuf-java:3.17.3) and protobuf-javalite-3.14.0.jar (com.google.protobuf:protobuf-javalite:3.14.0)...
com.google.firebase:firebase-config uses protobuf-javalite and I can`t remove that library from the project.
The code at build.gradle:
The text was updated successfully, but these errors were encountered: