【我的Android进阶之旅】Android调用JNI出错 java.lang.UnsatisfiedLinkError: No implementation found for的解决方法

一、错误描述

今天使用第三方的so库时候,调用JNI方法时出现了错误。报错如下所示:

11-01 16:39:20.979 4669-4669/com.netease.xtc.cloudmusic E/art: No implementation found for void com.netease
已标记关键词 清除标记
Android 开发报 No implementation found for void 的错误,跪求大神!!! FATAL EXCEPTION: main Process: com.swz.ywt.dhdemothird, PID: 2134 java.lang.UnsatisfiedLinkError: No implementation found for void com.company.PlaySDK.IPlaySDK.InitNativeObj(int, java.lang.Object, java.lang.Object, java.lang.Object, int) (tried Java_com_company_PlaySDK_IPlaySDK_InitNativeObj and Java_com_company_PlaySDK_IPlaySDK_InitNativeObj__ILjava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2I) at com.company.PlaySDK.IPlaySDK.InitNativeObj(Native Method) at com.company.PlaySDK.IPlaySDK.InitSurface(IPlaySDK.java:149) at com.swz.ywt.dhdemothird.PlayDemoActivity$1.surfaceCreated(PlayDemoActivity.java:147) at android.view.SurfaceView.updateWindow(SurfaceView.java:582) at android.view.SurfaceView$4.setFormat(SurfaceView.java:764) at com.company.PlaySDK.IPlaySDK.UpdateSurface(IPlaySDK.java:221) at com.company.PlaySDK.IPlaySDK.InitSurface(IPlaySDK.java:141) at com.swz.ywt.dhdemothird.PlayDemoActivity$1.surfaceCreated(PlayDemoActivity.java:147) at android.view.SurfaceView.updateWindow(SurfaceView.java:582) at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:177) at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:944) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2055) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858) at android.view.Choreographer.doCallbacks(Choreographer.java:670) at android.view.Choreographer.doFrame(Choreographer.java:606) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 我用的是Android studio2.3.3
©️2020 CSDN 皮肤主题: 博客之星2020 设计师:CY__0809 返回首页
实付 9.90元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值