Android 2.2.1 and 2.2 are both API level 8.

What you need is to use your own sources (since you changed them) and
copy/link them into the sources folder of the API level 8 SDK
component  you are using when compiling your Eclipse project.

On Sun, Nov 28, 2010 at 7:55 AM, Elvis Dowson <[email protected]> wrote:
> Hi,
>       I've ported android-2.2.1 to the Gumstix Overo and have had to modify
> some of the code in the framework/base git repo. I have also created an
> eclipse project for com.android.settings application and I'm able to debug
> using adb over ethernet using the Gumstix Overo target device, set
> breakpoints and single step through the code.
> However, as I step out of each method call, I eventually run into a method
> call in one of the framework classes, and cannot see the sources for the
> framework classes, as described in this link:
> http://android.opensourceror.org/2010/01/18/android-source/
> This issue has been discussed at length below:
> http://code.google.com/p/android/issues/detail?id=979
> Some people have provided the sources to add to the android sdk to help in
> the debug process :
> http://mobilebytes.wordpress.com/2010/06/30/classes-source-for-eclipse/
>
> Now the thing is I'm using a modified version of the android-2.2.1 framework
> classes, and the closest API level support I get from the downloaded SDK and
> AVD manager is android-2.2 (not 2.2.1).
> What should I do?
> Question 01: Is the solution building the sdk from my local android-2.2.1
> repo, and then copying the framework/base sources somewhere to the
> android-sdk-linux_x86/platforms/android-x/sources folder?
> Question 02: If android-8 corresponds to android-2.2 and Google API 2.2,
> what should I do for the android-2.2.1 API ? i.e. what name should I give
> for the folder, what else should I take care of?
> Elvis Dowson
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to