Change the NDK samples package names to be lower case. Also added minSdkVersion=3 in the manifests.
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
* apps/samples/hello-jni/project/src/com/example/HelloJni/HelloJni.java
|
||||
*/
|
||||
jstring
|
||||
Java_com_example_HelloJni_HelloJni_stringFromJNI( JNIEnv* env,
|
||||
Java_com_example_hellojni_HelloJni_stringFromJNI( JNIEnv* env,
|
||||
jobject thiz )
|
||||
{
|
||||
return (*env)->NewStringUTF(env, "Hello from JNI !");
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#ifndef FIRST_H
|
||||
#define FIRST_H
|
||||
|
||||
extern int first(int x, int y);
|
||||
extern int first(int x, int y);
|
||||
|
||||
#endif /* FIRST_H */
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
#include <jni.h>
|
||||
|
||||
jint
|
||||
Java_com_example_TwoLib_TwoLib_add( JNIEnv* env,
|
||||
jobject this,
|
||||
jint x,
|
||||
jint y )
|
||||
Java_com_example_twolibs_TwoLibs_add( JNIEnv* env,
|
||||
jobject this,
|
||||
jint x,
|
||||
jint y )
|
||||
{
|
||||
return first(x, y);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user