My Application running in Win32 and iOs is well,but move to android failed.(Failed adding to JNI local ref table (has 512 entries))
What version of cocos2d-x did you use?
Did you invoke any jni functions?
I use cocos2d-1.0.1-x-0.9.2.This project is running in iPhone,but I want to move to android.I didn’t invoke any jni funtions, only c/c++ code.I read data from Json File(26 files). They are loading success and data is right.By test when loading the two of them will cause the above problems.I want to know which situation will cause the above problem, and which direction should I do.Thanks!
By the way, I want to use fopen, fwrite to write binary data to file(/data/data/mypackage/filename), how to modify android xml.
Try to use the latest version of cocos2d-x.