Javadoc fails with class file for java.lang.FunctionalInterface not found

前端 未结 1 1252
栀梦
栀梦 2021-02-09 23:35

Using Android Studio, I am trying to generate the Javadoc. Under Eclipse it worked fine, but under Android Studio I get the error:

javadoc: error - com.su

相关标签:
1条回答
  • 2021-02-10 00:12

    Yes. This fails on JDK 1.8. I discovered the change to -bootclasspath was causing the problem. The following -bootclasspath is required:

    "$(JAVA_HOME)/jre/lib/rt.jar";$(HOME)\AppData\Local\Android\sdk\platforms\android-19\android.jar 
    
    0 讨论(0)
提交回复
热议问题