在Mac上针对Android构建unity3d项目时出现DllnotFoundException

时间:2018-06-26 02:27:39

标签: android macos unity3d

统一版本为2017.1.3.p4

导入代码如下:

public const string LibName = "GCloudVoice";

[DllImport(LibName, CallingConvention = CallingConvention.Cdecl)]
 private static extern int GCloudVoice_CreateInstance();

,所以路径如下:

PROJECT_ROOT/Assets/Plugins/Android/libs/armeabi-v7a/libGCloudVoice.so

这样的统一配置如下:

THE SO CONFIGURATIONS

so文件信息:

libGCloudVoice.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /system/bin/linker, stripped 

我怀疑统一根本不会在so路径中搜索so。

0 个答案:

没有答案