1
Im新的cocos2d,並試圖在Mac OS maverics中首次構建android項目。 我已經下載了新版本的cocos2dx3.2 android SDK NDK v9和ANT。 當我去建項目顯示像爲項目構建動態庫失敗! - android cocos
Build dynamic library for project [ /Users/Lahiru/Desktop/Cocos/cocos2dx/build/../tests/cpp-tests/proj.android ] fails!
我.bashprofile一個錯誤是這樣
# Add environment variable COCOS_CONSOLE_ROOT for cocos2d-x
export COCOS_CONSOLE_ROOT=/Users/Lahiru/Desktop/Cocos/cocos2dx/tools/cocos2d-console/bin
export PATH=$COCOS_CONSOLE_ROOT:$PATH
# Add environment variable NDK_ROOT for cocos2d-x
export NDK_ROOT=/Users/Lahiru/Desktop/Cocos/androidndkr9
export PATH=$NDK_ROOT:$PATH
# Add environment variable ANDROID_SDK_ROOT for cocos2d-x
export ANDROID_SDK_ROOT=/Users/Lahiru/Desktop/Cocos/adtbundle/sdk
export PATH=$ANDROID_SDK_ROOT:$PATH
export PATH=$ANDROID_SDK_ROOT/tools:$ANDROID_SDK_ROOT/platform-tools:$PATH
# Add environment variable ANT_ROOT for cocos2d-x
export ANT_ROOT=/Users/Lahiru/Desktop/Cocos/apacheant194/bin
export PATH=$ANT_ROOT:$PATH
# Setting PATH for Python 2.7
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
export PATH
任何人都可以指導我做什麼我錯過了嗎? 謝謝
感謝它的工作。 – LCB2010 2014-09-11 17:41:38