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.
作者:myfather103 发表于2017/7/26 11:14:32 原文链接
阅读:90 评论:0 查看评论