1. Open the directory containing the root of android package. For example, if android class is located in SampleActivity.java, and it's package is com.sample.android, then open the folder containing the /com folder (in my case it is located in android_project/app/src/main/java/).
2. From this folder isssue the command
javah com.sample.android.SampleActivity.
Corresponding .h file should be generated in-place in this folder. You can move it to another folder.
thank you so much! this is the only thing that worked for me!
ReplyDelete