Error when merging the dex
following are the dependencies.
ext { anko_version=\'0.10.5\' support_lib=\'1.0.0-alpha1\' room_lib = \"1.1.0\
Check the package which clashes with the com.android.support and exclude it from that package. For me, I was using androidx packages and also FCM, where there was a clash. So, this fixed for me:
implementation ('com.google.firebase:firebase-core:16.0.4') { exclude group: 'com.android.support' }