用3.0 控制台新建 工程, XCODE 模拟器正常运行,
编译 android 报错 输出 :
jni/…/…/Classes/HelloWorldScene.h34: fatal error: extensions/cocos-ext.h: No such file or directory
#include “extensions/cocos-ext.h”
^
compilation terminated.
In file included from jni/…/…/Classes/AppDelegate.cpp0:
jni/…/…/Classes/HelloWorldScene.h34: fatal error: extensions/cocos-ext.h: No such file or directory
#include “extensions/cocos-ext.h”
^
compilation terminated.
make: *** Error 1
make: *** Waiting for unfinished jobs…
make: *** Error 1
make: Leaving directory `/Users/apple02/Android/TestNewGame/TestNewGame/proj.android’
Traceback (most recent call last):
File “./build_native.py”, line 166, in
build(opts.ndk_build_param,opts.android_platform,opts.build_mode)
File “./build_native.py”, line 153, in build
do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode)
File “./build_native.py”, line 89, in do_build
raise Exception("Build dynamic library for project " + app_android_root + " ] fails!")