I was able to get it working in Eclipse by setting my project to
include the source from the library project.  I was never able to get
it to work if I used .jar files.  The including source route works
because the source gets built into the same /bin folder, and dx
converts any .class files in the /bin folder.

The downside to this approach is that your .apk will grow with the
size of the library.  If you have several apps using the same library,
this isn't ideal.  I don't think there is a way to use 3rd party
libraries without building them into your .apk (Other than the Android
library, of course).

Sorry; I deleted the build.xml file after I got things working in
Eclipse.  It should be pretty straight-forward to recreate... I just
looked at what you can pass to dx.bat and modified the dex section of
build.xml to also pass in the .jar path.

-Brad


On Aug 26, 3:28 am, Jey <[EMAIL PROTECTED]> wrote:
> On Aug 11, 11:48 am, Brad Larson <[EMAIL PROTECTED]> wrote:
>
> > I took the auto-generated build.xml
> > and modified it to pass the .jar files to dx.  Everything works fine
>
> Can you share the bits of the build.xml  ?
> Did you get it to work on Eclipse, by the way?
>
> thanks,
> Jey
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to