I am having troubles generating the C header file for JNI using javah
.
Here's the script I use while standing in the <project-dir>in
directory:
javah -classpath C:PROGRA~2Androidandroid-sdkplatformsandroid-8android.jar com.test.JniTest
As return I get:
ERROR: Could not find class file for 'com.test.JniTest'.
Even though the class JniTest
certainly is in comest
.
What am I doing wrong?
See Question&Answers more detail:os