The important thing is that the String NATIVE_LIB_SAMPLE has the same value as the LOCAL_MODULE which appears in your Android.mk file (in the JNI directory)
For instance, if you see:
LOCAL_MODULE := CloudReco in Android.mk
then you will need to set String NATIVE_LIB_SAMPLE = "CloudReco"; in java
Hi,
yes, if your project name is CloudReco.
The important thing is that the String NATIVE_LIB_SAMPLE has the same value as the LOCAL_MODULE which appears in your Android.mk file (in the JNI directory)
For instance, if you see:
LOCAL_MODULE := CloudReco in Android.mk
then you will need to set String NATIVE_LIB_SAMPLE = "CloudReco"; in java