android build error (cocos2dx_static) help plz

version : cocos2d-2.1rc0-x-2.1.2

see add image.

CCFileUtilsAndroid.cpp error

help plz.

thank.


saint_error.png (73.4 KB)

What’s the version of your ndk?

use NDK-r7-crystax-4.

cocos2d-2.1beta3-x-2.1.0 is no ploblem

I had the same error, it seems like missing an include to <stdio.h>

cocos2dx-version: cocos2d-2.1rc0-x-2.1.3 @May.01 2013
ndk: r8-crystax-1

Same problem here :frowning: does anyone know how to fix it

Could you try it with official release version of ndk, like (android-ndk-r8d or r8e)? Thanks.