E:\adt-bundle-windows-x86-20140321\sdk\tools\ant\build.xml:892: The following er
ror occurred while executing this line:
E:\adt-bundle-windows-x86-20140321\sdk\tools\ant\build.xml:894: The following er
ror occurred while executing this line:
E:\adt-bundle-windows-x86-20140321\sdk\tools\ant\build.xml:906: The following er
ror occurred while executing this line:
E:\adt-bundle-windows-x86-20140321\sdk\tools\ant\build.xml:284: null returned: 2
把工程目录下org\cocos2dx\lib文件夹 删掉就没问题了
编写程序需要注意的地方,今天被这两个问题折磨了一天!
1.OnEnter()和OnExit()一定要配对使用。
2.OnEnter() 和OnExit()里面一定要显示的调用父类的该方法。