hi, i did one j2me application.After finishing tht project i tried to created obfuscated package to load my application.while creating package the following exception occurs
Error preverifying class k Class loading error: Wrong name com.sun.kvem.ktools.ExecutionException: Preverifier returned 1 Build failed com.sun.kvem.midletsuite.InvalidJadException: Reason = 31 The jar size value in the Application Descriptor does not match the real jar file size. can anyone tell me how to eliminate this exception n y this exception occurs? thanx a lot
Hi Lakshmi, The error is with jad file. There is some rules to be followed for jad file. Like there must not be blank value for any key.
e.g. there should not be entry like key : Jad file doesnt allow spaces for key.
e.g. My Name : Instead it should be myname :
It will eliminate your jad exception.
As far as preverifying is concerned, you might have used API which CLDC version doesnt support(e.g float is not supportd in CLDC 1.0). Check these things. I hope u will be able to run your application then.
posted 14 years ago
hi, thanx for ur reply.i eliminate tht exception by reducing the no of class in my application.
Hey, I'm supposed to be the guide! Wait up! No fair! You have the tiny ad!