获取错误:java.lang.UnsatisfiedLinkError: dlopen failed: library "libtriangulation.so" not found in Android java

问题描述 投票:0回答:0

我在 Android Studio 版本的 Electric Eel 上运行 2019 年的旧 Android 项目。

我在该项目中导入了一个现有模块,该模块正在使用 .so 库。当我执行以下行时,出现此错误:Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library "libtriangulation.so" not found

static {
        System.loadLibrary("triangulation");
        
    }

这是我的项目结构: Project structure

3dViewer是我在项目中导入的外部模块。可以看到libtriangulation.so文件已经包含在jniLibs文件夹中

任何帮助表示赞赏。在过去的 4 天里,我一直陷入这个错误。

尝试了以下链接中给出的所有解决方案,但没有一个对我有用:

java.lang.UnsatisfiedLinkError: dlopen failed: library not found

java.lang.UnsatisfiedLinkError: dlopen failed:

https://github.com/sqlcipher/android-database-sqlcipher/issues/587

java android unsatisfiedlinkerror
© www.soinside.com 2019 - 2024. All rights reserved.