What you're really asking is whether it's possible to override the
system classpath.  I don't know the answer, but that's the question.

On Jul 23, 2:08 pm, Toby <[email protected]> wrote:
> I'm working on a SMIME application to decode .p7m signed and encrypted
> messages.  I've got a small Java app written using the latest Bouncy
> Castle libraries and everything is working great.  I ran into some
> issues moving the code into an Android app.  I've included the newest
> BC libraries in the app, but my guess is my problems...
>
> 07-23 12:02:23.701: ERROR/AndroidRuntime(654):
> java.lang.NoSuchMethodError:
> org.bouncycastle.asn1.ASN1InputStream.readTagNumber
>
> ...are related to class loading since many older versions of these
> classes exist on the platform.
>
> 07-23 12:02:19.151: INFO/dalvikvm(641): DexOpt: not resolving
> ambiguous class 'Lorg/bouncycastle/asn1/ASN1InputStream;'
>
> 07-23 12:00:20.671: DEBUG/dalvikvm(567): DexOpt: 'Lorg/apache/harmony/
> misc/SystemUtils;' has an earlier definition; blocking out
>
> Is it possible to selectively over-ride packages and force the JVM to
> use the included libraries in the application?  This may be an
> entirely futile effort and completely the wrong approach but I've
> exhausted the search boxes in every forum i can find so I thought i'd
> toss it out here.

-- 
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