Floating point not allowed in method

Floating point is not allowed in CLDC 1.0 

Change preverification to CLCD 1.1

To change it in Eclipse follow below steps

Goto Windows -> Preferences -> J2ME -> PreVerification -> Select "Use specific configuration" ->  Connected Limited Device Configuration (1.1) -> Apply -> OK

Comments

Popular Posts