Problem:
java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Solution:
Our BlinkID SDK V5.0. uses AndroidX dependency: https://github.com/BlinkID/blinkid-android/blob/master/Release%20notes.md#major-api-changes
SDK migrated to AndroidX dependencies - previous SDK dependency com.android.support:appcompat-v7 has been replaced with androidx.appcompat:appcompat
If you still use dependency that does not depend on the AndroidX, please add these 2 lines in your project's build.properties (https://developer.android.com/jetpack/androidx/migrate#migrate_an_existing_project_using_android_studio):
android.useAndroidX=true
android.enableJetifier=true
Comments