본문 바로가기

Android

Making the Android source code available in Eclipse

 

One of the annoying things in the Android Development Kit is that it does not include the source code for the standard Android classes. This makes it IMHO unnecessary hard to learn the Android platform.

Of course there is a solution for this. Clone the Android Source Code via Git. Once you have the full source code, switch to the “/frameworks/base/core/java” directory, zip the content of the “android” folder and attach it to your Android jar.

For those of you who don’t want to clone the full Android repoI have attached the source from the current version of Android (Android 2.2) here: Android Source Code zip .

I hope this helps.

For further info check my Android tutorial or if you are based in Germany visit my Android Training.

'Android' 카테고리의 다른 글

running activity with adb  (0) 2013.10.08
browser apk  (0) 2013.10.08
eclipse with ndk  (0) 2013.10.08
ndk-gdb overview  (0) 2013.10.08
How to use gdbserver on android  (0) 2013.10.08