When I adding implementation 'com.google.firebase:firebase-perf-ktx:19.1.0' I cannot start espresso instrumented tests ("app" scheme building ok). When I trying to start Espresso test, I have
Test running failed: Process crashed.
java.lang.NoSuchMethodError: No static method registerDefaultInstance(Ljava/lang/Class;Lcom/google/protobuf/GeneratedMessageLite;)V in class Lcom/google/protobuf/GeneratedMessageLite
But if I'm deleting implementation 'com.google.firebase:firebase-perf-ktx:19.1.0' everything working fine.
How to keep Firebase Performance library and Espresso Instrumented tests?