Android Source Referencing Missing Classes
I cloned some of the trees from the Android Open Source Project to take a look at the code, but I can't build them because they reference classes which don't seem to exist. For ins
Solution 1:
So is the open source project disjoint from the released SDK?
The stock Android applications have nothing whatsoever to do with the SDK. Most were written before the SDK existed.
So, for example, there is an android.media.MediaFile class, and an ArrayListCursor class. They are not part of the SDK, but you can find the source for them quickly using Google Code Search and the package:android qualifier.
Also, is there a way to build these open source packages with the current SDK?
If by "open source packages" you mean applications, then generally no, they cannot be built using the SDK. Someday, perhaps they can be, but not without substantial work in some cases.
Post a Comment for "Android Source Referencing Missing Classes"