Linux Android cocos2dx环境变量设置

export JAVA_HOME=/home/edwin/Android/jdk1.7.0_51/
export JRE_HOME=/home/edwin/Android/jdk1.7.0_51/jre/
export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH

export NDK_ROOT=/home/edwin/Android/android-ndk-r9c/
export NDK_TOOLCHAIN_VERSION=4.8

export ANDROID_SDK_ROOT=/home/edwin/Android/adt-bundle-linux-x86-20131030/sdk/

export PATH=${ANDROID_SDK_ROOT}/tools:${ANDROID_SDK_ROOT}/platforms-tools:${NDK_ROOT}:${JAVA_HOME}/bin:${JRE_HOME}/bin:${PATH}


export COCOS2DX_ROOT=/home/edwin/Workspace/cocos2d-x-2.2.2/

你可能感兴趣的:(android,cocos2d-x)