bug in flutter build in windows #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PS C:\Users\babak\Desktop\backup\hesabixarc> .\build_windows.ps1
=== Flutter Windows build - quick guide ===
This script will:
If something fails: run .\build_windows.ps1 -Help for all options; check IDE setup with: flutter doctor -v
[step] Prerequisites: Flutter found at C:\Users\babak\Development\flutter\bin\flutter.bat
Run 'flutter doctor -v' if desktop toolchains look wrong.
[step] Visual Studio C++ toolchain detected (PATH or vswhere).
Repo root: C:\Users\babak\Desktop\backup\hesabixarc
Project path: C:\Users\babak\Desktop\backup\hesabixarc\hesabixUI\hesabix_ui
Mode: release
API Base URL: https://hsxn.hesabix.ir
[step] Flutter pub/storage mirrors (deploy.sh defaults unless overridden):
PUB_HOSTED_URL=https://f.mirror.hesabix.ir/pub
FLUTTER_STORAGE_BASE_URL=https://f.mirror.hesabix.ir/gcs
Override with env vars or -PubHostedUrl / -FlutterStorageBaseUrl if needed.
[step] Checking symlink support (required for many Flutter plugins)...
Symlink check passed.
[info] Skipping flutter pub get (package_config.json is newer than pubspec.yaml / pubspec.lock).
Use -InstallDeps to always run flutter pub get before build.
Build configuration:
Mode: release
API base URL: https://hsxn.hesabix.ir
Expected EXE: hesabix_ui.exe
==========================================
Building Flutter for Windows...
Command: flutter build windows --release --dart-define=API_BASE_URL=https://hsxn.hesabix.ir
Flutter assets will be downloaded from https://f.mirror.hesabix.ir/gcs. Make sure you trust this source!
CMake Error at flutter/ephemeral/.plugin_symlinks/printing/windows/DownloadProject.cmake:179 (message):
Build step for pdfium failed: 1
Call Stack (most recent call first):
flutter/ephemeral/.plugin_symlinks/printing/windows/CMakeLists.txt:37 (download_project)
Building Windows application... 96.8s
Unable to generate build files
[error] Build failed.
Run: flutter doctor -v ... and confirm Windows (desktop) is supported; fix MSVC or SDK warnings shown there.
PS C:\Users\babak\Desktop\backup\hesabixarc\hesabixUI\hesabix_ui>