How to find the source for the Android 2.3.3 platform?

When in debug mode, I get a source message not found for Android stuff. I am using Andorid-10 to match my device. In "android-sdk \ sources" I have Android-14 and Android-15. How and where can I get the Andorid-10 source tree. I looked at http://developer.android.com/sdk/android-2.3.3.html , but I can not find the source to download.

+8
android android-source
source share
5 answers

The best answer for me is http://code.google.com/p/adt-addons/ and downloading the Eclipse plugin for Android Sources . To get the plugin, in Eclipse, select the "Help" button and select "Install New Software." Then give http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update/ This is a great download, but after Eclipse has all the source code.

thanks for the help

Cliff

+10
source share

I use grepcode to view and download the source code on Android. You can find the jar with Android 2.3 here . You can also download the source code from https://github.com/android and http://code.google.com/p/android/ .

+8
source share

If I understand your question correctly, you want to have an Android-10 SDK for creating code for writing Java applications. With that in mind, a way to get Android 10 support is to use:

android-sdk/tools/android 

This will download the Android SDK and AVD Manager. Use the Available Packages menu and go to download the Android-10 SDK.

0
source share
 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

0
source share

I searched for the source of android.widget.ArrayAdapter in 2.3.x too.

I already cloned this:

 # Android_Frameworks_Base (~ 1.8GiB) $ git clone https://github.com/android/platform_frameworks_base.git 

to do the following:

 # Switch to v2.3 by Git tag $ git checkout android-2.3.7_r1 

is a "quick" transition back in time and can be tied to Eclipse as

 - Source Attachment Configuration - External location - External Folder - (Browse to filesystem location) 
0
source share

All Articles