sisong / UnityAndroidHotUpdate

I no longer install and use Unity3D. (Unity3D热更新。provide a way to hot update Unity app on Android, support code&resources, not need lua js or IL runtime etc..., will not disturb your project development; just loading the new version apk file to achieve. )
MIT License
192 stars 49 forks source link

手工热更新测试错误 #54

Closed dawn25618 closed 1 year ago

dawn25618 commented 1 year ago

手工热更新测试错误,希望大佬指点我一下。大佬能加一下Q吗?2229713767

执行 doHot(baseApk,baseSoDir,hotApk,hotSoDir);就报错了,可是so库都是在release中下载的,然后直接导入的jniLibs目录文件下

java.lang.UnsatisfiedLinkError: No implementation found for void com.unity3d.update.HotUnity.doHot(java.lang.String, java.lang.String, java.lang.String, java.lang.String) (tried Java_com_unity3d_update_HotUnity_doHot and Java_com_unity3d_update_HotUnity_doHot__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2)

sisong commented 1 year ago

Java代码的类路径和名称都不能改,否则找不到so中的函数