Hi Mark,
not sure if it is reported already, but someone said that compiling for Android didn't work since V67. So I tested it with a bigger game I have. Up to V69 it is fine but in V70B I get these method arrayLength, cannot find symbol errors:
-compile: [javac] Compiling 4 source files to /Users/michaelhartlef/Desktop/Monkey_prj/NeonCommand2/NeonCommand2.build/android/bin/classes [javac] /Users/michaelhartlef/Desktop/Monkey_prj/NeonCommand2/NeonCommand2.build/android/src/com/whiteskygames/NeonCommand2/MonkeyGame.java:2874: cannot find symbol [javac] symbol : method arrayLength(java.lang.String[]) [javac] location: class com.whiteskygames.NeonCommand2.bb_std_lang [javac] if(bb_std_lang.arrayLength(t_lines)==2){ [javac] ^
Method LoadOptions:Void ()
Local state:String = LoadState()
Local lines := state.Split(";;;")
If lines[0] Then
eng.scoreList.LoadFromString(lines[0])
Endif
If lines.Length()=2 Then
Local options := lines[1].Split("###")
eng.SetVolumeSFX(Float(options[0]))
eng.SetVolumeMUS(Float(options[1]))
Endif
End
The problematic line here is
If lines.Length()=2 Then
EDIT: Just had a look at the native sources in modules/monkey/native/lang.native. The arrayLength method is missing in V70 now.
|