android.enableJetifier 解决包duplicate
作者:互联网
现在项目基本上都是androidx了,但是有时候也需要用老的库,这样就会存在问题。
Caused by: java.lang.RuntimeException: Manifest merger failed with multiple errors, see logs
Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Caused by: java.lang.RuntimeException: Duplicate class android.support.v4.app.AppLaunchChecker found in modules support-compat-28.0.0-runtime (com.android.support:support-compat:28.0.0) and support-core-utils-26.1.0-runtime (com.android.support:support-core-utils:26.1.0)
本来想用排除法解决,谁知道提示找不到类。
标签:compat,Caused,support,duplicate,enableJetifier,android,com,internal 来源: https://www.cnblogs.com/jiduoduo/p/16455116.html