最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

flutter - Apps are not allowed to have a Version with a revision number other than zero specified in the app manifest - Stack Ov

programmeradmin1浏览0评论

Using Windows 11 and Android Studio Ladybug | 2024.2.1 Patch 3, in the terminal, I type:

flutter clean then, click pub get then, type: dart run msix:create

This generates msix file under the build folder in my project.

There is no app manifest generated.

When I upload the msix into Microsoft Store, then I get the error:

Apps are not allowed to have a Version with a revision number other than zero specified in the app manifest. The package MyApp.msix specifies 1.1.1.1.

I cannot find the app manifest file anywhere in my app folder.

Could you please tell me what I am doing wrong?

PUBSPEC.YAML

version: 1.1.1+0

msix_config:
display_name: MyApp
publisher_display_name: DMITRI KOZLOV
identity_name: DMITRIKOZLOV.MyApp
publisher: CN=generated number from Microsoft Store app Details
msix_version: 1.1.1.1
store: true

dev_dependencies:
flutter_test:
sdk: flutter

flutter_lints: ^5.0.0
path: ^1.9.0
intl: ^0.19.0
path_provider: ^2.1.5
collection: ^1.18.0
adaptive_theme: ^3.7.0
msix: ^3.16.8

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论