build_native.sh할때 commands commence before first target 에러

2013. 2. 26. 10:55Cocos2d-X

336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

에러 :


NDK_ROOT = /works/android/developer/android-ndk-r8d

COCOS2DX_ROOT = /works/android/developer/cocos2d-2.0-x-2.0.4/

APP_ROOT = /works/android/developer/cocos2d-2.0-x-2.0.4/galaxyScrambleS/proj.android/..

APP_ANDROID_ROOT = /works/android/developer/cocos2d-2.0-x-2.0.4/galaxyScrambleS/proj.android

Using prebuilt externals

make: Entering directory `/works/android/developer/cocos2d-2.0-x-2.0.4/galaxyScrambleS/proj.android'

jni/Android.mk:25: *** commands commence before first target.  Stop.

make: Leaving directory `/works/android/developer/cocos2d-2.0-x-2.0.4/galaxyScrambleS/proj.android'


해결방법:


Android.mk 안에 공백이 있어서 생긴 문제이다 




저기 있는 공백 때문이다..



으흐...


삽질금지