[Android Q&A, Help & Troubleshooting] prashant.ravoori:
Error compiling Android Source using make sdk

make: *** [out/target/common/docs/doc-comment-check-timestamp] Error 45

htmlDir not a directory: frameworks/base/docs/html-ndk

javadoc: error - In doclet class com.google.doclava.Doclava, method start has thrown an exception java.lang.reflect.InvocationTargetException

java.lang.NullPointerException

at com.google.doclava.TypeInfo.getTypeArgumentMapping(TypeInfo.java:478)

at com.google.doclava.ClassInfo.justMyInterfacesWithTypes(ClassInfo.java:343)

at com.google.doclava.ClassInfo.selfMethods(ClassInfo.java:707)

at com.google.doclava.ClassInfo.selfAttributes(ClassInfo.java:927)

at com.google.doclava.ClassInfo.init2(ClassInfo.java:192)

at com.google.doclava.Converter$1.made(Converter.java:294)

at com.google.doclava.Converter$Cache.obtain(Converter.java:673)

at com.google.doclava.Converter.obtainClass(Converter.java:271)

at com.google.doclava.Converter.convertClasses(Converter.java:221)

at com.google.doclava.Converter.initClass(Converter.java:152)

at com.google.doclava.Converter.access$300(Converter.java:46)

at com.google.doclava.Converter$1.made(Converter.java:293)

at com.google.doclava.Converter$Cache.obtain(Converter.java:673)

at com.google.doclava.Converter.obtainClass(Converter.java:271)

at com.google.doclava.Converter.convertClasses(Converter.java:221)

at com.google.doclava.Converter.initClass(Converter.java:119)

at com.google.doclava.Converter.access$300(Converter.java:46)

at com.google.doclava.Converter$1.made(Converter.java:293)

at com.google.doclava.Converter$Cache.obtain(Converter.java:673)

at com.google.doclava.Converter.obtainClass(Converter.java:271)

at com.google.doclava.Converter$5.make(Converter.java:520)

at com.google.doclava.Converter$Cache.obtain(Converter.java:671)

at com.google.doclava.Converter.obtainType(Converter.java:507)

at com.google.doclava.Converter.access$600(Converter.java:46)

at com.google.doclava.Converter$3.make(Converter.java:484)

at com.google.doclava.Converter$Cache.obtain(Converter.java:671)

at com.google.doclava.Converter.obtainField(Converter.java:473)

at com.google.doclava.Converter.convertFields(Converter.java:464)

at com.google.doclava.Converter.initClass(Converter.java:119)

at com.google.doclava.Converter.access$300(Converter.java:46)

at com.google.doclava.Converter$1.made(Converter.java:293)

at com.google.doclava.Converter$Cache.obtain(Converter.java:673)

at com.google.doclava.Converter.obtainClass(Converter.java:271)

at com.google.doclava.Converter.convertClasses(Converter.java:221)

at com.google.doclava.PackageInfo.ordinaryClasses(PackageInfo.java:240)

at com.google.doclava.PackageInfo.isHidden(PackageInfo.java:90)

at com.google.doclava.PackageInfo.isHiddenOrRemoved(PackageInfo.java:138)

at com.google.doclava.Doclava.choosePackages(Doclava.java:1097)

at com.google.doclava.NavTree.writeNavTree(NavTree.java:30)

at com.google.doclava.Doclava.start(Doclava.java:363)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:280)

at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:160)

at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:397)

at com.sun.tools.javadoc.Start.begin(Start.java:167)

at com.sun.tools.javadoc.Main.execute(Main.java:59)

at com.sun.tools.javadoc.Main.main(Main.java:49)

1 error

make: *** [out/target/common/docs/online-ndk-timestamp] Error 45

#### make failed to build some targets (29:28 (mm:ss)) ####

Java :

java version "1.7.0_111"

OpenJDK Runtime Environment (IcedTea 2.6.7) (7u111-2.6.7-0ubuntu0.14.04.3)

OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)

Iam using JDK 7 but still iam getting the below error .Any help/work around is appreciated