Generate Javadoc error Android Studio

后端 未结 5 1097
-上瘾入骨i
-上瘾入骨i 2021-02-07 04:20

For some reason I cannot generate a javadoc with Android Studio, after like 96 warnings it gives me this:

95 warnings
java.lang.NullPointerException
at com.sun.t         


        
5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-07 04:33

    I know this may be late, but it's worth the effort. you may add this to the gradle.build file

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

提交回复
热议问题