Android doesn't understand java. Java is used during development, but the java class file inside the jar must be converted to a dex class file before android can use it. CaryWang wrote: > I have a jar file in my app local data "/data/data/application > packageName/test.jar". I want to load the class "com.test.abc" 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 ? > > -- > Cary
-- 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

