git clone --no-checkout https://android.googlesource.com/platform/libcore cd libcore git tag -l | grep -F 2.3. android-2.3.1_r1 android-2.3.2_r1 android-2.3.3_r1 android-2.3.3_r1.1 android-2.3.4_r0.9 android-2.3.4_r1 android-2.3.5_r1 android-2.3.6_r0.9 android-2.3.6_r1 android-2.3.7_r1
select your preferred version, just a note: the platform-10 emulator image is android 2.3.4 (see adb shell getprop )
git checkout android-2.3.4_r1 cd luni/src/main/java jar cvf <android sdk>/platforms/android-10/sources.jar *
you can now attach the jar to the eclipse
sherpya
source share