title: Failed of build android-8.0: FAILED: out/target/common/docs/test-api-stubs-timestamp
body: <p>I build the android-8.0.0_r4 in Ubuntu, but failed, Following is the error information :</p>
  
  <blockquote>
    <p>FAILED: out/target/common/docs/test-api-stubs-timestamp  /bin/bash
    out/target/common/docs/test-api-stubs-timestamp.rsp
    java.lang.UnsupportedClassVersionError: com/google/doclava/Doclava :
    Unsupported major.minor version 52.0</p>
    
    <p>at java.lang.ClassLoader.defineClass1(Native Method) at
    java.lang.ClassLoader.defineClass(ClassLoader.java:800) at
    java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at
    java.net.URLClassLoader.access$100(URLClassLoader.java:71)</p>
    
    <p>javadoc: error - fatal error 1 error</p>
  </blockquote>
  
  <p>I am using the java -version check the JDK version, it looks correct.</p>
  
  <p>openjdk version "1.8.0_45-internal"</p>
  
  <p>OpenJDK Runtime Environment (build 1.8.0_45-internal-b14)</p>
  
  <p>OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode)</p>
  
  <p>Can anyone give some advise?
  Thanks in advance.</p>