在将Findbug插件更新到3.0.1版本之后,我无法在Android中编译多模块项目。此外,我还使用"com.google.code.findbugs:annotations:3.0.1"依赖关系来使用FindBugs注释(例如@SuppressFBWarnings)。Execution failed for task ':presentation:packageAllDevelopDebugClassesForMultiDex'.
> java.util.zip.ZipException: duplicate ent
Cannot find a version of 'com.google.code.findbugs:jsr305' that satisfies the version constraints:unspecified' --> 'com.android.support.test.espresso:espresso-core:3.0.2' --> 'com.google.code.findbugs:jsr305:2.0.1'
Const
Dependency path 'Kmrider5:app:unspecified' -:jsr305' strictly '1.3.9' because of the following reason: debugRuntimeClasspath uses version 1.3.9Dependency path 'Kmrider5:app:unsp
我正在写一个Android库项目,在这个项目中我依赖于Realm。由于某些原因,当我在Gradle文件中添加Realm作为依赖项时,我得到了一个构建错误。具体地说:class file for javax.annotation.ParametersAreNonnullByDefault not found我的项目级build.gradle如下所示:
// Top-level build file where you can add configurati
我得到了以下IDE错误,它出现在我的类的内联或包声明上,但并没有阻止代码按预期运行或工作。The type javax.annotation.meta.When cannot be resolved. It is indirectly referenced from required .class file。
错误出现在我使用Findbugs @NonNull注释的任何地方;任何使用此注释的类都会在IDE的包声明行中显示上述消息。但是,该类在Package-