In module.gradle,add "compile 'com.jakewharton:butterknife:8.5.1" lead to to conflict:
com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: android/support/v4/hardware/display/DisplayManagerCompat$JellybeanMr1Impl.class
That class isn't from ButterKnife. Your build system is doing something
wrong and including two copies of the same library. Try running the
dependencyInsight task.
On Thu, Mar 9, 2017, 9:06 PM hwra2008 notifications@github.com wrote:
Quote butternife.jar lead to conflict:
com.android.build.api.transform.TransformException:
java.util.zip.ZipException: duplicate entry:
android/support/v4/hardware/display/DisplayManagerCompat$JellybeanMr1Impl.class—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/issues/895, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAEEEX8Yw65kX7yTwqLwQkI-HFHOQi0Dks5rkLAogaJpZM4MY4CA
.
I meet this problem too,when i add "compile('com.jakewharton:butterknife:8.6.0') {
exclude module: 'support-compat'
}" in my dependencies like this ,the problem solved。
i meet too,when i add "compile('com.jakewharton:butterknife:8.6.0') {
exclude module: 'support-compat' in my dependencies ,it has a other problem Could not find method compile for arguments com.jakewharton:butterknife:8.6.0,
Most helpful comment
That class isn't from ButterKnife. Your build system is doing something
wrong and including two copies of the same library. Try running the
dependencyInsight task.
On Thu, Mar 9, 2017, 9:06 PM hwra2008 notifications@github.com wrote: