Generate Javadoc error Android Studio

后端 未结 5 1098
-上瘾入骨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:57

    If you have a static final string variable containing the escaped unicode, you can try referencing the value of the string in the doc. Android Studio was able to resolve the unicode in the sidebar documentation for me. I don't know if this will work if you're trying to generate the doc from the command line though.

    private static final String UNICODE_VALUE = "\u251c";//or whatever string
    
    /**
     * {@value #UNICODE_VALUE}
     */
    //whatever you want to document
    

提交回复
热议问题