.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,
- Right click the project and go to properties.
- Select Obfuscating in Build and set into High level.
- Clean and Build the project and see your Jar file size.
精彩评论