问题1

来源:互联网 发布:python手机编译器 编辑:程序博客网 时间:2024/04/27 19:58

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()里面一定要显示的调用父类的该方法。

0 0
原创粉丝点击