Hi,
I am writing an application and due to various reasons I had to
build it using make (froyo code) and not SDK. When I run my app on
emulator it works fine. I have an Android device and code to build
image for the device. When I build my app with device code, it builds
fine. How ever, when I run the application, I get
java.lang.ClassNotFoundException: <package.class> in loader
dalvik.system.PathClassLoader[.]
A source file in my code is actually doing
sourceClass = classLoader.loadClass(sourceName);
sourceName here is pointing to a class I actually build (I have
classname.java file in my code under correct package directory and
package name). Note that this app is running fine on emulator, but on
a device it is failing.
I verified that the .class file exists in out/target/common/obj/APPS/
xxxApp_intermediates/classes.jar, classes-full-debug.jar, classes-full-
names.jar
Can anybody help?
Thank you.
--
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