Quantcast
Channel: CSDN博客移动开发推荐文章
Viewing all articles
Browse latest Browse all 5930

Android NDK: From Elementary to Expert Expisode 21

$
0
0

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 查看评论

Viewing all articles
Browse latest Browse all 5930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>