I\'m trying to use the NDK with C++ and can\'t seem to get the method naming convention correct. my native method is as follows:
extern \"C\" { JNIEXPORT voi
I had the same problem, but to me the error was in the file Android.mk. I had it:
LOCAL_SRC_FILES := A.cpp LOCAL_SRC_FILES := B.cpp
but should have this:
LOCAL_SRC_FILES := A.cpp LOCAL_SRC_FILES += B.cpp
note the detail += instead :=
I hope that helps.