我运行 Android Studio v2.1.3 并使用 ./gradlew build
使用 Findbags 检测 Android 项目中的错误。
最近开始出现错误:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':process:customFindbugs'.
> java.io.IOException: No files to analyze could be opened
有足够的磁盘空间和 RAM,除此之外,我看不出有任何特定原因会导致该错误发生。请帮助详细说明这个问题。
最佳答案
如果使用3.2,请注意
classes = files("$project.buildDir/intermediates/classes")
应该是
classes = files("$project.buildDir/intermediates/javac")
关于android - Findbugs 失败并显示 "java.io.IOException: No files to analyze could be opened",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39851965/