ios developer
ios developer

Reputation: 3473

.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 when 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

Upvotes: 1

Views: 165

Answers (1)

bharath
bharath

Reputation: 14453

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.

Upvotes: 3

Related Questions