Help Center/ CodeArts Build/ FAQs/ Android Builds/ Why Am I Seeing the Error Message "Javadoc generation failed"?
Updated on 2024-11-18 GMT+08:00
Why Am I Seeing the Error Message "Javadoc generation failed"?
Symptoms
The Gradle performs the javadoc check during a build. Therefore, the error Javadoc generation failed may be reported.

Solution
To avoid javadoc check, add the following configuration to Gradle in the root directory of the project:
allprojects {
repositories {
jcenter()
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
}
} Parent topic: Android Builds
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.