【发布时间】:2012-11-09 16:08:27
【问题描述】:
我无法生成 Android APK 文件。
当我运行ant debug 编译工作正常,但当我运行ant debug
我有以下错误:
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
我不知道是什么问题。
【问题讨论】: