FAILURE: Build failed with an exception.
Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/home/malin/github_demo/Android-Universal-Image-Loader/library/build/tmp/androidJavadocs/javadoc.options'
- Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
BUILD FAILED
remove all html formatted tags within your method documentations in some classes of your project.
referring to this answer: http://stackoverflow.com/questions/26552279/gradle-build-fails-with-javadoc-nullpointerexception
you maybe add code to gradle with library :
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
options.addStringOption('charSet', 'UTF-8')
}
@Tamicer add tasks.withType....放在gradle的那个位置 是root gradle 还是library 的gradle
@zxp0505 放在library 中gradle
@Tamicer where dose the code come from?
@yzlee I forgot
@Tamicer -_-
@Tamicer niubility [比心]
@Tamicer I want to know what is the principle of ?
Most helpful comment
you maybe add code to gradle with library :
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
options.addStringOption('charSet', 'UTF-8')
}