admin管理员组

文章数量:1123661

I'm using Flutter Release X Package for automate my package sharing and publishing on cloud & github release with link sharing and qr code generation of that build however when running this package I'm getting this issue:

Building the release APK...
Unhandled exception:
ProcessException: %1 is not a valid Win32 application.

  Command: C:\dev\flutter\bin\flutter --version

I followed the config steps mentioned in the documentation

here's the config.yaml file:

flutter_path: C:\dev\flutter\bin\flutter

upload_options:
  github:
    enabled: true
    token: YOUR_GITHUB_TOKEN
    repo: REPO/PATH # e.g. RittikSoni/Flutter-Release-X
  google_drive:
    enabled: true
    credentials_path: /path/to/credentials.json
    client_id: YOUR_CLIENT_ID
    client_secret: YOUR_CLIENT_SECRET

# QR Code generation settings
qr_code:
  enabled: true # Whether or not to generate QR codes
  save_file: true # Flag to save the QR code image to the file system (true/false)
  show_in_command: true # Flag to show the QR code in the command line output (true/false)
  size: 256 # The size of the generated QR code 256 x 256
  error_correction_level: L # Error correction level for the QR code (L, M, Q, H)
  save_path: "./release-qr-code.png" # Path where the QR code will be saved

and when i run flutter_release_x build or frx build i'm getting the same error.

本文标签: