Follow these steps to deploy the game to Android:
Open your project's
Android.mk
file in a text editor.Edit the lines in
LOCAL_SRC_FILES
to read:LOCAL_SRC_FILES := hellocpp/main.cpp \ ../../Classes/AppDelegate.cpp \ ../../Classes/Block.cpp \ ../../Classes/GameSprite.cpp \ ../../Classes/Player.cpp \ ../../Classes/Terrain.cpp \ ../../Classes/GameLayer.cpp
Import the game into Eclipse and wait until all classes are compiled.
That's it. Save it and run your application.