运行项目时出现以下错误:

时间:2019-05-23 14:39:41

标签: android

Duplicate class android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat found in modules classes.jar (com.android.support:support-compat:27.0.2) and classes.jar (com.android.support:support-v4:24.1.1)
Duplicate class android.support.v4.app.ActionBarDrawerToggle found in modules classes.jar (com.android.support:support-core-ui:27.0.2) and classes.jar (com.android.support:support-v4:24.1.1)
Duplicate class android.support.v4.app.ActionBarDrawerToggle$Delegate found in modules classes.jar (com.android.support:support-core-ui:27.0.2) and classes.jar (com.android.support:support-v4:24.1.1)
Duplicate class android.support.v4.app.ActionBarDrawerToggle$DelegateProvider found in modules classes.jar (com.android.support:support-core-ui:27.0.2) and classes.jar (com.android.support:support-v4:24.1.1)
Duplicate class android.support.v4.app.ActionBarDrawerToggle$SlideDrawable found in modules classes.jar (com.android.support:support-core-ui:27.0.2) and classes.jar (com.android.support:support-v4:24.1.1)
Duplicate class android.support.v4.app.ActivityCompat found in modules classes.jar (com.android.support:support-compat:27.0.2) and classes.jar (com.android.support:support-v4:24.1.1)

我尝试了以下步骤来解决这些问题:

  1. 清洁项目
  2. 无效并重新启动

0 个答案:

没有答案