I have recently updated the Android Studio from 3.5(stable) to 3.6(stable).
Then I saw the plugin update was also available, so I have updated the version of "com.an
There are few methods to resolve this issue.
Revert build.gradle version to 3.5.3
dependencies {
// classpath 'com.android.tools.build:gradle:3.6.1'
classpath 'com.android.tools.build:gradle:3.5.3'
}
Add packagingOptions under app/build.gradle
android {
...
packagingOptions {
exclude 'AndroidManifest.xml'
}
}
Under gradle.properties, set useNewApkCreator to false. Adding this flag might cause some apk installation issues.
android.useNewApkCreator=false
Final approach, perform a scan through third-party library. Check for androidx.core:core-ktx plugin. Try to update to 1.2.0 or newer version.