Android Studio错误:类android.support.v4.hardware.display.DisplayManagerCompat已添加到输出中。请删除重复的副本

时间:2015-07-12 06:47:22

标签: java android android-studio android-gradle

我在尝试使用Android Studio构建我的Android项目时面临以下异常

Theme.AppCompat.Light

我在StackOverflow上尝试了不同的建议,例如排除下面的包,但它仍然是相同的:

Error:Class android.support.v4.hardware.display.DisplayManagerCompat has already been added to output. Please remove duplicate copies.

使用gradlew.bat命令我尝试找到重复的条目,但是在命令的输出中它不在那里,下面粘贴的是dependencies { dependencies { //compile project(':android-beacon-library') compile 'org.altbeacon:android-beacon-library:2+@aar' compile 'com.squareup.okhttp:okhttp:2.1.0' compile ('com.squareup.picasso:picasso:2.2.0') { exclude group: 'android.support', module: 'library' } compile 'com.google.code.gson:gson:2.2.4' compile('com.github.Comcast:FreeFlow:v-0.6') { exclude group: 'android.support', module: 'library' } } } 的输出:

gradlew.bat :app:dependencies

0 个答案:

没有答案