Code Won't Compile With Android NDK, But OK with Xcode

I’m compiling a set of Cocos2d-X code with both Android NDK and Xcode.

On Xcode the game compiles and runs well.

With Android NDK, the compile would fail. (I’m using the official Android r7c NDK).

Please help.


Screen Shot 2012-04-23 at 10.56.46 PM.png (94.1 KB)

What’s the error message?

Problem solved. Turned out I forgot to add newly added cpp files to the Android.mk…