es_compression icon indicating copy to clipboard operation
es_compression copied to clipboard

我的项目运行的时候报: Failed to load dynamic library 'libeszstd-android64.so': dlopen failed: library "libeszstd-android64.so" not found

Open zhangyuankai opened this issue 2 years ago • 2 comments

请问这个so文件从哪里获得

zhangyuankai avatar Nov 09 '23 11:11 zhangyuankai

我也遇到了,这个怎么解决呢?

huangbos avatar Jan 16 '24 02:01 huangbos

Same issue on Windows: Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'eslz4-win64.dll': The specified module could not be found.

Workaround is to include your own lib as file and set the path. E.g. download lz4 dll from github and place it in your project, then set the path.

    Lz4Codec.libraryPath = './msys-lz4-1.dll';
    final codec = Lz4Codec(level: Lz4Option.defaultLevel);

This has to be done for each platform ofc.

ddomnik avatar May 18 '24 22:05 ddomnik