Mihai Dumitrache wrote:
> I have a jar file in my app local data "/data/data/ro.lisamobile/files/
> echo.jar".
> I want to load the class "lisa.modules.echo.EchoModule" which resides
> in my jar.
> 
> I am using java.net.URLClassLoader to load the class. On an non
> android environment the code works, on android it gives me this
> exception "can't load this type of class file".
> 
> Do you know why is that ?

Does your JAR file contain Java bytecodes, or Dalvik VM bytecodes?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.0
Available!

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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to