Help Center/ CodeArts Build/ User Guide (Ally Region)/ FAQs/ Using Android for Build/ Javadoc generation failed
Updated on 2026-01-08 GMT+08:00
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: Using Android for Build
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot