Wednesday, July 28, 2010

[android-developers] Re: Jar in Jar

I dont need to access members of the inner jar from outsize just from
my code that in the outer jar.
Is it possible or extracting is the only solution?

On Jul 28, 7:06 pm, DanH <danhi...@ieee.org> wrote:
> You can add a jar to a jar.  You just can't (easily) access members in
> the inner jar without extracting it first.
>
> On Jul 28, 9:12 am, zohar lerman <lirazo...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I am creating new Android widget for other users to use. I created JAR
> > file from my project and it is working as expected when other users
> > and this jar to their project.
>
> > I am trying to enrich the widget and for that i am using other jar.
> > So my JAR include another jar, and only my code can access to that
> > jar.
>
> > The problem is where user use my jar and it reach to the line where i
> > call to the other jar it crash with verifyError exception (on SDK
> > 1.5 ) and NoClassDefFoundErro (on SDK 2.1)
>
> > My jar manifest file includes:
> > Class-Path: lib/otherJar.jar
>
> > any idea?
> > Is it possible to add jar into jar?
>
> > thanks
> > -Z

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate