Saturday, March 8, 2014

cocos2d-x ant debug error

If I follow the cocos2d-x tutorial, I receive an error while doing ant debug to generate the apk.

Setting the android sdk dir fixes it.

ant debug -Dsdk.dir= %ANDROID_SDK_ROOT%
or
ant debug -Dsdk.dir= $ANDROID_SDK_ROOT


No comments:

Post a Comment