多个dex文件定义Lcom/android/volley/Request$方法

多个dex文件定义Lcom/android/volley/Request$方法,android,android-studio,android-volley,Android,Android Studio,Android Volley,我正试图通过youtube教程制作一个关于我们的页面,我添加了一个库实现'com.github.medyo:android关于页面:1.1.1' 在依赖项和同步后,它不会给我任何错误。但当我试图运行项目时,它给出了一个错误 多个dex文件定义Lcom/android/volley/Request$方法 我以前在同一个项目中使用过截击,但我不明白为什么它会出现这个错误 dependencies { implementation fileTree(dir: 'libs', include:

我正试图通过youtube教程制作一个关于我们的页面,我添加了一个库实现'com.github.medyo:android关于页面:1.1.1' 在依赖项和同步后,它不会给我任何错误。但当我试图运行项目时,它给出了一个错误 多个dex文件定义Lcom/android/volley/Request$方法 我以前在同一个项目中使用过截击,但我不明白为什么它会出现这个错误

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:26.1.0'
    implementation 'com.android.support:design:26.1.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    implementation 'com.android.support:support-v4:26.1.0'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
    implementation 'com.android.volley:volley:1.0.0'
    implementation 'com.github.bumptech.glide:glide:3.7.0'
    implementation 'com.github.zcweng:switch-button:0.0.3@aar'
    implementation 'com.github.medyo:android-about-page:1.1.1'

}

您应该启用多重索引来解决问题,通常可以通过清理项目和执行新的同步/构建来解决