Do the following and remove the exception.
- Go to nbproject folder in your project.Under this folder find "project.properties" file.
- Edit "project.properties" file.Search for "manifest.midlets="
- Set the value of "manifest.midlets=MIDlet-1: MidletName, , PackageName\n"
manifest.midlets=MIDlet-1: SampleMidlet, , com.j2me.mobile.sample.SampleMidlet\n
Spaces are compulsory.Place the space after : and before packagename.\n is to indicate to go to next line if you are editing in a notepad or editplus.
No comments:
Post a Comment