Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javadoc generation failed. Generated Javadoc options #1086

Open
androidmalin opened this issue Sep 15, 2015 · 11 comments
Open

Javadoc generation failed. Generated Javadoc options #1086

androidmalin opened this issue Sep 15, 2015 · 11 comments

Comments

@androidmalin
Copy link

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':library:androidJavadocs'.

    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

@LeebeeDev
Copy link

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

@Tamicer
Copy link

Tamicer commented Oct 28, 2016

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')
}

@zxp0505
Copy link

zxp0505 commented Dec 9, 2016

@Tamicer add tasks.withType....放在gradle的那个位置 是root gradle 还是library 的gradle

@Tamicer
Copy link

Tamicer commented Dec 9, 2016

@zxp0505 放在library 中gradle

@trywarrior
Copy link

nice,thanks@Tamicer

@yzlee
Copy link

yzlee commented Dec 30, 2016

@Tamicer where dose the code come from?

@Tamicer
Copy link

Tamicer commented Dec 30, 2016

@yzlee I forgot

@yzlee
Copy link

yzlee commented Dec 30, 2016

@Tamicer -_-

@yangyiRunning
Copy link

@Tamicer niubility [比心]

@WangcWj
Copy link

WangcWj commented Nov 26, 2018

@Tamicer I want to know what is the principle of ?

@Gavin-hyh
Copy link

您可以使用库将代码添加到gradle中:

tasks.withType(Javadoc) { options.addStringOption('Xdoclint:none', '-quiet') options.addStringOption('encoding', 'UTF-8') options.addStringOption('charSet', 'UTF-8') }

非常感谢您的回答 Build successful 这对我非常有用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants