错误信息
java.lang.UnsatisfiedLinkError: No implementation found for int com.vin.VINAPI.VinKernalInit(java.lang.String, java.lang.String, java.lang.String, int, int, android.telephony.TelephonyManager,android.content.Context) (tried Java_com_vin_VINAPI_vinKernalInit and Java_com_vin_VINAPI_VinKernalInit__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IILandroid_telephony_TelephonyManager_2Landroid_content_Context_2) 提供so库的工作人员的c文件的定义JNI接口为 Java_com_etop_vin_VINAPI_vinKernalInit 即:package name必须为:com.etop.vin 而class name必须为VINAPI 错误解决方法 新建一个包名为com.etop.vin并把VINAPI类移到该包名下,然后重新编译,成功运行
调用JNI出错 java.lang.UnsatisfiedLinkError: No implementation found for
最新推荐文章于 2023-06-01 17:42:24 发布
