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.
You could go ahead and define ANT_ROOT in your .bash_profile
.
export ANT_ROOT=<where ever it is>
export PATH=$ANT_ROOT:$PATH
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With