D:\Android\android-adt\android-sdk\tools\ant\build.xml:892: The following error
occurred while executing this line:
D:\Android\android-adt\android-sdk\tools\ant\build.xml:894: The following error
occurred while executing this line:
D:\Android\android-adt\android-sdk\tools\ant\build.xml:906: The following error
occurred while executing this line:
D:\Android\android-adt\android-sdk\tools\ant\build.xml:283: null returned: 2
解决方法:
找到工程目录下的project.properties文件打开它
在"android.library.reference.1=..\\cocos2d\\cocos\\platform\\and"的前面加个#号就OK了。如下图: