問題:
編譯的時候出現了Java.util.zip.ZipException: duplicate entry錯誤。
What went wrong: Execution failed for task':app:transformClassesWithJarMergingForProductDebug'. com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/teambition/teambition/util/AnalyticsUtil$EventBuilder.class Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
原因:
項目長時間未更新,rebase后build,與緩存區不一致。
解決方法:
1.gradle clean installProductDebug
2.