Invalid float: "2.0:" on Android 4.0.4

Hello Everybody!

I tried to deploy the simplest application on Android 4.0.4
Application’s source is
public class Main extends SimpleApplication {

public static void main(String[] args) {
    Main app = new Main();

public void simpleInitApp() {
    Box b = new Box(1, 1, 1);
    Geometry geom = new Geometry("Box", b);

    Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
    mat.setColor("Color", ColorRGBA.Blue);


public void simpleUpdate(float tpf) {
    //TODO: add update code

public void simpleRender(RenderManager rm) {
    //TODO: add render code


I have done everything like in the instruction described

I have the latest (nightly) jme3’s version. Nonetheless I have got an error. How could I fix the next one?

E/ SEVERE Exception thrown in Thread[GLThread 1282,5,main] E/ java.lang.NumberFormatException: Invalid float: "2.0:" E/ at java.lang.StringToReal.invalidReal( E/ at java.lang.StringToReal.parseFloat( E/ at java.lang.Float.parseFloat( E/ at E/ at E/ at E/ at E/ at android.opengl.GLSurfaceView$GLThread.guardedRun( E/ at android.opengl.GLSurfaceView$

Thanks a lot!

It’s a known issue of RC2, you have to use the svn in order to have it fixed

nehon, thanks for answer.
Is there anywhere step by step tutorial how to assemble jme3 from svn? (I am a newby)

I have assembled jme3 from svn. There is a new problem. :slight_smile:

W/dalvikvm(27993): Unable to resolve superclass of Lcom/mycompany/mygame/MainActivity; (9) W/dalvikvm(27993): Link of class 'Lcom/mycompany/mygame/MainActivity;' failed W/dalvikvm(27993): threadid=1: thread exiting with uncaught exception (group=0x40aca9d8) E/AndroidRuntime(27993): FATAL EXCEPTION: main E/AndroidRuntime(27993): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.mycompany.mygame/com.mycompany.mygame.MainActivity}: java.lang.ClassNotFoundException: com.mycompany.mygame.MainActivity E/AndroidRuntime(27993): at E/AndroidRuntime(27993): at E/AndroidRuntime(27993): at$600( E/AndroidRuntime(27993): at$H.handleMessage( E/AndroidRuntime(27993): at android.os.Handler.dispatchMessage( E/AndroidRuntime(27993): at android.os.Looper.loop( E/AndroidRuntime(27993): at E/AndroidRuntime(27993): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(27993): at java.lang.reflect.Method.invoke( E/AndroidRuntime(27993): at$ E/AndroidRuntime(27993): at E/AndroidRuntime(27993): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(27993): Caused by: java.lang.ClassNotFoundException: com.mycompany.mygame.MainActivity E/AndroidRuntime(27993): at dalvik.system.BaseDexClassLoader.findClass( E/AndroidRuntime(27993): at java.lang.ClassLoader.loadClass( E/AndroidRuntime(27993): at java.lang.ClassLoader.loadClass( E/AndroidRuntime(27993): at E/AndroidRuntime(27993): at E/AndroidRuntime(27993): ... 11 more
Any idea?