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.
本文标签:
版权声明:本文标题:dart - ProcessException: %1 is not a valid Win32 application. Command: C:devflutterbinflutter --version - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736582525a1944965.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论