cocos2d3.2 lua 编译到安卓 Cannot find module with tag 'scripting/lua-bindings' in import path

各位大神,我目前遇到了一个诡异的情况。cocos2d3.2 lua 编译到安卓 Cannot find module with tag ‘scripting/lua-bindings’ in import path。环境如下

1、mac os 10.9.4
2、xcode 5.1.1
3、eclipse

问题描述

1、使用cocos 命令创建出来的lua项目 的proj.android文件夹下没有找到build_native.py文件
2、从3.0 copy 一个到文件夹中,终端编译一直会报如下错误,路径设置没有问题啊
3、我知道cocos IDE可以编译,但是终端怎么就编译不了了?

jni/Android.mk:54: *** Android NDK: Aborting. . Stop.

Android NDK: jni/Android.mk: Cannot find module with tag ‘scripting/lua-bindings’ in import path

Traceback (most recent call last):
File “/Users/apple/Desktop/work/YOYO-LUA/YouYou/frameworks/runtime-src/proj.android/build_native.py”, line 166, in
build(opts.ndk_build_param,opts.android_platform,opts.build_mode)
File “/Users/apple/Desktop/work/YOYO-LUA/YouYou/frameworks/runtime-src/proj.android/build_native.py”, line 153, in build
Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?
do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode)
Android NDK: The following directories were searched:
Android NDK:
make: Entering directory /Users/apple/Desktop/work/YOYO-LUA/YouYou/frameworks/runtime-src/proj.android' File "/Users/apple/Desktop/work/YOYO-LUA/YouYou/frameworks/runtime-src/proj.android/build_native.py", line 89, in do_build raise Exception("Build dynamic library for project " + app_android_root + " ] fails!") Exception: Build dynamic library for project /Users/apple/Desktop/work/YOYO-LUA/YouYou/frameworks/runtime-src/proj.android ] fails! make: Leaving directory /Users/apple/Desktop/work/YOYO-LUA/YouYou/frameworks/runtime-src/proj.android’
The Selected NDK toolchain version was 4.8 !