Cannot load library app_links_plugin.dll
Posted: Fri Apr 18, 2025 11:02 am
Error: "Cannot load library app_links_plugin.dll" on Enigma Virtual Box (Flutter Project)
Hi everyone,
We're facing an issue with a Flutter project that we package using Enigma Virtual Box (v11.20).
Setup:
We're developing the app with Flutter.
After building the app, we use Enigma Virtual Box to package it into a single .exe.
The packaging is done on Windows 10 Server, and the resulting .exe is distributed to both Windows 10 and Windows 11 machines.
The app is also digitally signed.
Problem:
Sometimes, after packaging, we get the following error:
"Cannot load library app_links_plugin.dll"
We've noticed two possible causes:
This error can randomly appear after packaging, even if the file paths seem normal.
If the folder name (where the .exe is located) includes Turkish special characters like ç, ğ, ş, ö, the error always occurs.
We’re trying to understand:
Is this a Unicode/encoding issue related to Enigma Virtual Box?
Is it related to how Flutter loads dynamic libraries?
Or is there a known issue when plugin DLLs are loaded from non-ASCII paths?
Any advice, workaround, or solution would be much appreciated!
Thanks in advance.
Hi everyone,
We're facing an issue with a Flutter project that we package using Enigma Virtual Box (v11.20).
Setup:
We're developing the app with Flutter.
After building the app, we use Enigma Virtual Box to package it into a single .exe.
The packaging is done on Windows 10 Server, and the resulting .exe is distributed to both Windows 10 and Windows 11 machines.
The app is also digitally signed.
Problem:
Sometimes, after packaging, we get the following error:
"Cannot load library app_links_plugin.dll"
We've noticed two possible causes:
This error can randomly appear after packaging, even if the file paths seem normal.
If the folder name (where the .exe is located) includes Turkish special characters like ç, ğ, ş, ö, the error always occurs.
We’re trying to understand:
Is this a Unicode/encoding issue related to Enigma Virtual Box?
Is it related to how Flutter loads dynamic libraries?
Or is there a known issue when plugin DLLs are loaded from non-ASCII paths?
Any advice, workaround, or solution would be much appreciated!
Thanks in advance.