Hi Mark,

Thanks for the info, I am going to try renaming the lib into libs and
see how that works out. Just hope eclipse decides to cooperate :).

Cheers,
Mihai

On Nov 26, 3:18 pm, Mark Murphy <[email protected]> wrote:
> Mihai wrote:
> >   I am trying to use a third party library for an application and I
> > also need to add all it's dependency jars in order for it to work.
> > What I did so far, was create a lib folder inside my android app
>
> That should be a libs/ directory.
>
> > project and started adding the library and all it's dependencies in
> > there. However, when I tried to add them to the project java build
> > path in eclipse, my eclipse froze and I got an error that the
> > workbench state is not ok.
>
> That would be an Eclipse problem.
>
> >   Is there a different way to add jars to an application?
>
> No, your process is generally correct, other than your directory name.
> Create libs/ in your project, copy the JARs there, and add them to your
> Eclipse build path.
>
> > Do I need to
> > compile and package the jars using dx and the apk packaging tools?
>
> That will be handled for you.
>
> > Is
> > there a limitation on the size of the libraries (I think that all the
> > jars I am trying to import are about 5 MB's)?
>
> Your users will be very annoyed with you for having an app that big.
> Otherwise, I am not aware of any technical limits.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 1.0 In Print!

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

Reply via email to