Using Cocos2d-X 2.1.0 on an Android device with API 8, I’m getting errno 24 “too many open files” from fopen. The call path to get to fopen goes:
unzOpenInternal (with is64bitOpenFunction == 0)
ZOPEN64 / call_zopen64
fopen64 (aka fopen)
I tried making sure that USE_FILE32API was defined, but it already was. It definitely seems to be calling the 32 bit version of fopen.
The device I am running on is a Samsung Galaxy S. It has always ran Cocos2dx apps fine in the past. The last version I tried was 2.0.3 and it never gave me this error.
I know that the zip file functionality was updated in Cocos2dx 2.1.0. Is it possible that something is broken?
Does anyone know how to fix this or a possible workaround?