Comile error with generated java code for GetImage

Monkey Targets Forums/Android/Comile error with generated java code for GetImage

Ziltch(Posted 2011) [#1]
For the last few days my compiles have failed with an "illegal start of type" error in the java code. This happens in v42 and v43 but not v38 of monkey.

After renaming the build dir and comparing the .java files for dif versions of monkey I confirmed the error is coming from the translated java GetImage function code. It has an extra } at the end which causes the SetColor function to be outside of the class.

This is the end bit of GetImage that is causing the error;
            Log.i("GLLayer", "Pixels reading and storing finished !!!");
             }catch(Exception e){
                Log.i("GLLayer","Exception = " +e);
             }
   }    // <<<<<<<<-- this extra bracket is causing the compile errors.
	int SetColor( float r,float g,float b ){


I am confused why it started happening as I had been using v43 for a while.

It is happening with all compiles to android, even the simplest "You got a bluescreen" examples in the tutorials.

Does any one have any ideas what is going on here?


Ziltch(Posted 2011) [#2]
Newer Mojo fixed prob.