cocos2d-x 移植安卓错误解决


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了。如下图:


cocos2d-x 移植安卓错误解决_第1张图片

你可能感兴趣的:(cocos2d,3.x学习笔记)