Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pbm while Creating package

 
Santhana Lakshmi.S
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

i am doing one project,

i want create the obfuscated package for load my apps in mobile.

but i am getting error like given below, while i am created obfuscated package.

Error is

"Error preverifying class A
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."

What is the reason for raising this Error and Exception"

Any one known this answer please reply as soon as possible.

thanks a lot,
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just a guess, but I think your jad file was created when you create the package through the Wireless Toolkit. Then you obfuscated the jar file, which of course, reduces the size of the jar file. So the jad file had the size of the jar file before it was obfuscated. After obfuscated, you will need to get the size of the jar file now, and edit the jad file to match it.

Good Luck

Mark
 
Santhana Lakshmi.S
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i'm unable to create the obfuscated package.How can i edit the JAD file according to the size of the jar file?
can u clarify this doubt?
thanx a lot for ur reply
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic