On this page

Show all

Help Center/ CodeArts Build/ FAQs/ Using Android for Build/ Javadoc generation failed

Javadoc generation failed

Updated on 2023-11-28 GMT+08:00

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

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback