Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

launch cocos2dx project with Android

I'm using Cocos2dx 3.0 RC1, and in the installation i typed : ./setup.py

I entered my NDK root, and my SDK root, but didn't put anything on my ANT root as explained in this tutorial : here . But know when i use : cocos run -s ~/MyCompany/MyGame -p android, it says that my ANT_ROOT is not defined. I've installed it using Macport, but when i type ant, it says Build is missing.

I just want to create a game in Android using Cocos2dx.

like image 691
Tsunaze Avatar asked Oct 01 '22 01:10

Tsunaze


1 Answers

You could go ahead and define ANT_ROOT in your .bash_profile.

export ANT_ROOT=<where ever it is>
export PATH=$ANT_ROOT:$PATH
like image 115
GameDeveloper Avatar answered Oct 13 '22 10:10

GameDeveloper