I am having trouble creating an APK file for Android.
When I run ant debug , compilation works fine, but when I run ant debug
I have the following error:
iMac:proj.android smartmind$ ant debug Buildfile: /Users/smartmind/Works/Smallthing/cocos2d-x/samples/HelloCpp/proj.android/build.xml BUILD FAILED /Users/smartmind/Works/Smallthing/cocos2d-x/samples/HelloCpp/proj.android/build.xml:46: sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var Total time: 0 seconds
I do not know what the problem is.
android ant cocos2d-x
lordubik
source share