-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterplatform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform teamOwned by the Windows platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
flutter create --template plugin_ffi --platform=windows
+ flutter build windows --release
requires manually copying system dlls.
This is rather undesirable.
We should investigate how to allow opening system dlls from the sandbox.
The flutter create --template=ffi_plugin --platform=windows does work in the sandbox?
So I created a plugin using this command,
cd
to the example folder, ranflutter build windows --release
, and then copied theRelease
folder that contains the executable into the sandbox, and see for yourself that it complains first about system32 dlls:
Now I will copy the dlls and run the app again:
Originally posted by @Haidar0096 in #114641 (comment)
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterplatform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform teamOwned by the Windows platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.