java.lang.NoClassDefFoundError thrown with my own packages in Android 1.5
- by TiGer
Hi,
I have developed an application which has several packages within it's project...
A class in one of those packages is called right away in the first line of code, which throws the dreaded java.lang.NoClassDefFoundError error...
I don't get it, the package simply is within the project, and it works fine on my Android 1.6 device, but won't work with my 1.5 device...
I do have to say that the project was originally set for 1.6, but then I changed the within the manifest from 4 to 3...
Is that bad practice ? Or maybe it has nothing to do with the platform version ?
Also I do get these lines as wel from the DDMS :
05-04 17:24:59.921: WARN/dalvikvm(2041): VFY: unable to resolve static field 2 (MANUFACTURER) in Landroid/os/Build;
05-04 17:24:59.921: WARN/dalvikvm(2041): VFY: rejecting opcode 0x62 at 0x0034
05-04 17:24:59.921: WARN/dalvikvm(2041): VFY: rejected Lmobilaria/android/managementModule/Management;.getDeviceSpecifics ()V
05-04 17:24:59.921: WARN/dalvikvm(2041): Verifier rejected class Lmobilaria/android/managementModule/Management;
Thats the ManagementModule which also tries to retrieve several info-fields of the device itself...
Again, this works just fine on the 1.6 device, even though thats a development device whilst my 1.5 device is a non-development device...