I am trying to migrate my Autocomplete widget Places SDK Google to the new one using this migration guide. But once I try to generate my release or debug apk start getting the e
SOLVED: Finally found a solution. I stated earlier listenable future duplication was found while adding new dependency library for places SDK, duplicate being in the AppCompat library.
I was using the latest AppCompat library and here was the problem. It seems as per google docs, stable version is 1.0.0. So once I revert back everything to the stable version, the problem was solved.
implementation 'androidx.appcompat:appcompat:1.0.0'
And no need of below:
configurations {
all*.exclude group: 'com.google.guava', module: 'listenablefuture'
}