简体   繁体   English

native_init()链接错误

[英]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.

相关问题 本机方法链接错误 - Native Method Linking error 连结原生功能的未定义参考错误,Android - Undefined reference error linking native functions, android 本机方法中的致命错误:JDWP没有传输初始化,jvmtiError = AGENT_ERROR_TRANSPORT_INIT(197) - FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197) 为 React Native 尝试 Expo,只是做了一个“init”,得到 socketException 错误? - Trying out Expo for React Native, just did an “init”, getting socketException error? 当我在我的本机应用程序中链接名为tipsi-strive的依赖项时出现错误 - When I am linking a dependency named tipsi-strive in my react native app error comes up Jboss错误在调试时-本机方法中的致命错误:JDWP没有初始化传输,jvmtiError = AGENT_ERROR_TRANSPORT_INIT(197) - Jboss Error While debugging -FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197) Eclipse Mac OS X调试错误:“本机方法中的致命错误:JDWP没有传输初始化,jvmtiError = AGENT_ERROR_TRANSPORT_INIT(197)” - Eclipse Mac OS X Debug Error: “FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)” 将片段链接到活动错误 - Linking Fragment to Activity error AES加密初始化错误 - AES encryption init error 链接错误-没有写权限 - Linking Error - No Write Permission
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM