求大神帮看看那
系统环境:
java version “1.7.0_67”
Java™ SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot™ 64-Bit Server VM (build 24.65-b04, mixed mode)
python 2.7.5
环境变量:
export PATH=$PATH:/Users/cheney/Documents/adt-bundle-mac-x86_64-20140702/sdk/tools
export PATH=$PATH:/Users/cheney/Documents/adt-bundle-mac-x86_64-20140702/sdk/platform-tools
export PATH=$PATH:/Users/cheney/Documents/android-ndk-r9d/
export ANDROID_NDK_ROOT=/Users/cheney/Documents/android-ndk-r9d/
export ANDROID_SDK_ROOT=/Users/cheney/Documents/adt-bundle-mac-x86_64-20140702/sdk
export NDK_ROOT=/Users/cheney/Documents/android-ndk-r9d/
Add environment variable COCOS_CONSOLE_ROOT for cocos2d-x
export COCOS_CONSOLE_ROOT=/Users/cheney/playground/cocos2d-js/tools/cocos2d-console/bin
export PATH=$COCOS_CONSOLE_ROOT:$PATH
Add environment variable ANT_ROOT for cocos2d-x
export ANT_ROOT=/Users/cheney/Documents/apache-ant-1.9.4/bin
报错:
Running command: compile
Building mode: release
building native
NDK build mode: release
running: ‘/Users/cheney/Documents/android-ndk-r9d/ndk-build -C /Users/cheney/playground/cocos2d-js/hello/frameworks/runtime-src/proj.android -j4 NDK_MODULE_PATH=/Users/cheney/playground/cocos2d-js/hello/frameworks/runtime-src/proj.android/…/…/js-bindings:/Users/cheney/playground/cocos2d-js/hello/frameworks/runtime-src/proj.android/…/…/js-bindings/cocos2d-x:/Users/cheney/playground/cocos2d-js/hello/frameworks/runtime-src/proj.android/…/…/js-bindings/cocos2d-x/cocos:/Users/cheney/playground/cocos2d-js/hello/frameworks/runtime-src/proj.android/…/…/js-bindings/cocos2d-x/external’
Android NDK: /Users/cheney/playground/cocos2d-js/hello/frameworks/runtime-src/proj.android/…/…/js-bindings/cocos2d-x/cocos/./Android.mk: Cannot find module with tag ‘freetype2/prebuilt/android’ in import path
Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?
Android NDK: The following directories were searched:
Android NDK:
make: Entering directory /Users/cheney/playground/cocos2d-js/hello/frameworks/runtime-src/proj.android' /Users/cheney/playground/cocos2d-js/hello/frameworks/runtime-src/proj.android/../../js-bindings/cocos2d-x/cocos/./Android.mk:233: *** Android NDK: Aborting. . Stop. make: Leaving directory /Users/cheney/playground/cocos2d-js/hello/frameworks/runtime-src/proj.android’
Ndk build failed!