[英]native_init() Linking Error
I have used a code from GitHub to make Equaliser for my application but that code gives error here. 我使用了来自GitHub的代码来为我的应用程序制作均衡器,但是该代码在此处产生了错误。 Here is a code frm AudioEffect.java .
这是代码frm AudioEffect.java。
................. .................
public class AudioEffect {
static
{
System.loadLibrary("audioeffect_jni");
native_init();
}
}
. 。
Already searched on Google but it did not helped 已经在Google上搜索过,但没有帮助
. 。 I am totally new to this native keyword....so please suggest me how to do it........i am making a music player :).
我对这个本地关键字完全陌生。...所以请建议我该怎么做........我正在制作音乐播放器:)。
Thanks in advance :) 提前致谢 :)
Using NDK use can loadLibrary("audioeffect_jni") read Install NDK and then try this. 使用NDK可以通过loadLibrary(“ audioeffect_jni”)阅读“安装NDK”,然后尝试执行此操作。
https://developer.android.com/tools/sdk/ndk/index.html https://developer.android.com/tools/sdk/ndk/index.html
The Android NDK is a toolset that lets you implement parts of your app using native-code languages such as C and C++. Android NDK是一个工具集,可让您使用本机代码语言(例如C和C ++)实现应用程序的各个部分。 For certain types of apps, this can help you reuse existing code libraries written in those languages.
对于某些类型的应用程序,这可以帮助您重用以这些语言编写的现有代码库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.