当我将 Microsoft Azure 移动服务 SDK 添加到我的项目时:
compile 'com.microsoft.azure:azure-mobile-services-android-sdk:2.0.2'
我收到此错误:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:packageAllDebugClassesForMultiDex'.
> java.util.zip.ZipException: duplicate entry: com/google/common/base/FinalizableReference.class
可能是什么原因,我该如何解决?
我猜我可以为 Gradle 制定一些排除规则,但那会是什么样子?