In very general terms, you can try the following:

- use jar or ant to create the jar file

    <jar destfile="${lib.home}/android.jar"
         basedir="${build.home}/classes"/>

- This jar file needs to be part of your Eclipse/android project.

This works in general.

On Nov 21, 8:15 pm, Shuo <dengshuoama...@gmail.com> wrote:
> Hi All,
>
> I am writing an app which is using the android.jar in dir:
>
> <sdk>/platforms/android-4/
>
> Then I modified some code in the file:
>
> <sdk>/platforms/android-4/sources/org/apache/harmony/nio/internal/
> SocketChannelImpl.java
>
> So how can I rebuild the android.jar and make my app use the code I
> modified?
>
> Thanks!
>
> Shuo

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to