If you encounter the following error message when using the command:
flutter build apk
or the command:
flutter build appbundle
It’s due to the lack of support for symbolic links (symlink) on your system. This problem can arise on operating systems that do not have developer support enabled or when Flutter cannot create symbolic links for the project’s plugins.
The message indicates that you need to enable “Developer Mode” in your system settings.
To fix it, run this command before generating the build:
start ms-settings:developers
And now you can execute it correctly.