Scripting Bugs when building for Android

Hello all,

I am working on making my first build for an Android device. It is just a simple matching style game so there is nothing fancy. I am mainly trying to make sure I understand the process / procedure of taking a game and getting it to build for an Android environment.

To that end, I have a game that will build fine for Windows or the Web Player, but when I build it for the Android environment I get some weird messages that don’t seem to make sense. Further, it seems to me, if it builds for one environment, then it should build for another environment, at least for the “everyday” type of things.

For example, with this line of code:

aGrid [i][j] = aCards[somNum];

I get this errror message:

I only get this if I set my build target for Android. I can change my build target to Windows or Web Player and I don’t see any errors.

I can’t figure out what am I missing in setting up an Android build that would cause this. Any suggestions would be greatly appreciated.

It’s not a bug, you can’t use dynamic typing on iOS and Android. It’s the same as if you put #pragma strict on all your scripts.

–Eric

Thanks Eric. I guess I have to do some more research on these platforms so I don’t make more stupid errors.