First, on the following software path for Mac, open Terminal, and then enter Pico. Bash_profile Enter
Export Cocos2dx_root=/users/bpmacmini01/documents/cocos2d-2.1rc0-x-2.1.2/export ndk_root=/users/bpmacmini01/ Documents/androiddevelop/ndk-r9dexport android_ndk_root=/users/bpmacmini01/documents/androiddevelop/ Ndk-r9dexport android_sdk_root=/applications/adt/sdkexport path= $ANDROID _ndk_root: $PATHexport path= $ANDROID _sdk_ ROOT: $PATH
The basic path is the one above. This is done here. Just want you to look at my configuration path. Then, enter the path to the SDK in the terminal
After. Just use the input
./adb Logcat | Ndk-stack-sym./obj/local/armeabi
When performing an android application, it is assumed that C + + is an error. Will prompt the wrong file and the number of lines in the terminal, convenient C + + debugging.
COCOS2DX compiling Android version number view C + + Error