Open lindeer opened 1 week ago
How should I write my
build.dart
?
Report both dynamic libraries with addAsset
in hook/build.dart
.
Though, since #190 is not fully supported yet, it still might not work after that.
@dcharkes any example code? not figure out 'report bot dynamic libraries', would have a try...
@dcharkes any example code? not figure out 'report bot dynamic libraries', would have a try...
similar with #190 , my Dart library (no flutter) had 2 .so files: liba.so and libb.so, created by
Process.start('make', ...)
and I put them all inbuildConfig.outputDirectory
, it passed compilation, but run with an exceptionFailed to load dynamic library '.dart_tool/native_assets_builder/3e4910e7689af6c76b0eb2007f74b95f/out/liba.so': libb.so: cannot open shared object file: No such file or directory.
How should I write mybuild.dart
?pubspec.yaml: