Android NDK: From Elementary to Expert Episode 9

来源:互联网 发布:linux 解压命令 编辑:程序博客网 时间:2024/05/16 23:59

Yesterday, the new colleague encountered a fatal problem of NDK. He told me that the program was crashed. When I reviewed the code, I found out that there is an exception called: NoSuchMethodException. It was strange to me.

Here was the correct code:
这里写图片描述

I reminded of the process of building the project. These native code are copied from github. Therefore, the package name of the original project is not correspondent with mine. We need to change it.

Then it works.