Last time, I wrote an AVI player app. When I began to generate the header file for the native function, I got an error:
Error: Cannot determine signature for Bitmap
Here is the right command:
On Mac and Linux:
javah -cp <Your android sdk path>/sdk/platforms/verision(such as:android-25)/android.jar:. <class name of your file>
On Windows:
javah -cp <Your android sdk path>/sdk/platforms/verision(such as:android-25)/android.jar;. <class name of your file>
After all, I generated the header file successfully.