To create the package create the executable first and then the package by using these commands flutter build windows MSIX dev dependency added to pubspec.yaml You can add it to your project either by running the command flutter pub add -dev msix or by adding the reference manually to your pubspec.yaml file. Building MSIX packages requires the MSIX package. Therefore, they are much better suited if you want to distribute your app. MSIX packages provide install and uninstall routines and contain everything needed to run the app. Output files after executing the build command Building MSIX packages If you want to distribute the app, make sure to include the required data as well. The app is not self-contained, meaning it depends on the data folder and the DLL file. The created files including the application will be put in the subfolder build\windows\runner\Release. To create an executable file for your Flutter project you need to run the command flutter build windows. Flutter doctor output after upgrading to Flutter 2.10 Building executables If you don’t know your current configuration, call the flutter doctor command and check the results. Of course, this is only possible if you already have installed an older version of the Flutter SDK on your system. Or just use the command-line tool of your choice and execute flutter upgrade. If you haven’t already upgraded your Flutter version, head over to the Flutter release page, download the newest version for your operating system, and install it. Build high-quality Windows apps that also run on mobile and web Upgrading Flutter
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |