Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why my Android SDK source is not complete?

Recently I found my Android SDK source is not complete. I have downloaded the Android SDK API 16 ONLY from SDK Manager. When I want to generate the javadoc from source, it warns me that some classes are not found. I have read the website below, but I get confused whether the higher level API contains the lower level APIs. Is it enough to install the highest API only ? Or do some of the Android SDK source depend on the JDK source ? Thanks a lot.

Android API leve help

A piece of Javadoc warnings :

./java/lang/String.java:31: warning: package libcore.util not exist

import libcore.util.EmptyArray;

like image 984
fish47 Avatar asked Jul 16 '12 03:07

fish47


Video Answer


1 Answers

From what I understand, SDK will include only sources from frameworks/base. Since libcore is not here (it is at the root of the source tree), you are getting this error.

like image 122
Aswin Kumar Avatar answered Oct 20 '22 17:10

Aswin Kumar