【发布时间】:2018-03-22 17:52:44
【问题描述】:
谁能帮我解决这个问题,下面是错误日志:
java.Lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/hprt_printer_test.hprt_printer_test-1/base.apk"],nativeLibraryDirectories=[/data/app/hprt_printer_test.hprt_printer_test- 1/lib/arm64, /vendor/lib64, /system/lib64]]] 找不到“libhprt_printer_model.so.
我几乎搜索了 StackOverflow 上的所有帖子,但无法解决问题。
基本上,我试图在绑定项目中嵌入一个 jar 文件,然后在我的项目中使用 .dll 文件。对于信息,绑定项目的结构是 the binding project
项目结构如下 The project structure
那么有什么解决办法吗?
谢谢
【问题讨论】:
-
您是否已将 .so 文件添加到 Xamarin.Android 库项目correctly?
-
您好,是的,我什至通过编辑 .csproj 文件进行了尝试。