I’m new to JNI. It seems that there is multiple definition of JNI_OnLoad, the first one in jni/helloworld/main.cpp, and the other one is in the jni/customJNI.cpp that I created. I basically created customJNI based on CocosDenshion/Android/jni/SimpleAudioEngineJni.cpp. When I compiled using cygwin, it returns the error that there is multiple definition of ‘JNI_OnLoad’.
Please help me to solve this problem because I have to use JNI. Thanks.