09-25-2008, 06:54 PM
Join Date: Sep 2008
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Found a solution to exact same problem
First off lemme just say this, I had the exact same problem and spent hours tearing my hair out until I found a simple solution. Second of all, I know this was posted back in january and i'm replying because hopefully whoever reads this will be helped in finding a solution.
The following error:
Error!908: Application has malformed attribute: MicroEdition-Profile: MIDP-2.1
For me this error meant that I had unsupported files in my RES folder. I checked and noticed I had jpegs in there, and so I removed those and left the folder with only .png (for images) and .wav (for sound files).
low and behold this fixed the error. I was shocked and appalled especially since the custom batch file I had downloaded kept spitting out errors making fun of my code.
I don't understand why my code simply builds in the wireless toolkit and then has a bunch of trouble converting itself over to a cod file based on a jpeg res file error. Not only that, the batch file was very informative in telling me a lot of things the wireless toolkit compiler did not. I'm not saying I don't like the wtk, it's just that if i'm compiling code that eventually won't work in conversion to a cod then what's the point of compiling?
Anyways I really hope the error is simply based on my res folder...and as for the other errors I got, hopefully those are minor which is why the wtk will compile regardless of them.
Well heres the forum I used to find the batch which helped me to fix the bug
the Rapc actually proved to show a lot more then i'd expected. But truth be told it can be very confusing, I wonder if someones job is solely to take finished midlets and convert them over to cods.
Hope this helps!