开发者

.Java error(content size increases)

I am using LWUIT in j2me. There is only one .java file containing midlet and 10 images consisting total size of 49kb.

I had added LWUIT.jar in resource file. Now my application executes and rusn properly in simulater .But w开发者_运维技巧hen I install it in device it is showing me this error:

.java error content size to large

As the .jar file is of size 556KB


Use Obfuscating to high level and reduce the Jar file size. Also see this article, Jar size Optimization.

If you are using NetBeans means follow these steps,

  1. Right click the project and go to properties.
  2. Select Obfuscating in Build and set into High level.
  3. Clean and Build the project and see your Jar file size.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜