When I use implementation \'com.google.firebase:firebase-inappmessaging-display:17.2.0\' in my app/build.gradle, I get this error:
I found the solution at How to solve Program type already present: com.google.common.util.concurrent.ListenableFuture?. user2297550 said:
I merely added
implementation 'com.google.guava:guava:27.0.1-android'at the end of my app gradle file and the error went away.
That was the solution for me. Now I have this and my app compiles correctly:
implementation 'com.google.firebase:firebase-inappmessaging-display:17.2.0'
implementation 'com.google.guava:guava:27.0.1-android'