Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash while running the pub #20

Closed
humble-git opened this issue Feb 10, 2021 · 2 comments
Closed

Crash while running the pub #20

humble-git opened this issue Feb 10, 2021 · 2 comments
Labels
bug Something isn't working fixed bug fixed

Comments

@humble-git
Copy link

Hi,
I'm trying to run the package with default application but i'm getting following error

Option /o specified, existing files will be overwritten.
Using default hash method: SHA256.
The path (/p) parameter is: "\\?\C:\Users\Humble\Projects\github_desktop\build\windows\runner\Release\github_desktop.msix"
The content directory (/d) parameter is: "\\?\C:\Users\Humble\Projects\github_desktop\build\windows\runner\Release"
Enumerating files from directory "\\?\C:\Users\Humble\Projects\github_desktop\build\windows\runner\Release"
Packing 16 file(s) in "\\?\C:\Users\Humble\Projects\github_desktop\build\windows\runner\Release" (content directory) to "\\?\C:\Users\Humble\Projects\github_desktop\build\windows\runner\Release\github_desktop.msix" (output file name).
Memory limit defaulting to 12818999296 bytes.
Using "\\?\C:\Users\Humble\Projects\github_desktop\build\windows\runner\Release\AppxManifest.xml" as the manifest for the package.
MakeAppx : error: Failure at appxFactory->CreateManifestReader(manifestStream, &manifestReader) - 0x80080204 - The specified package format is not valid: The package manifest is not valid.
MakeAppx : error: Error info: /*[local-name()="Package" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/foundation/windows10"]/*[local-name()="Identity" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/foundation/windows10"][1]/@Name
'com.flutter.github_desktop' violates pattern constraint of '[-.A-Za-z0-9]+'.
The attribute 'Name' with value 'com.flutter.github_desktop' failed to parse.
Cleaning up output file "\\?\C:\Users\Humble\Projects\github_desktop\build\windows\runner\Release\github_desktop.msix".
MakeAppx : error: Failure at (CreatePackage( overwrite, hashAlgorithm, fileList, outputPath, manifestStream.Get(), forceCompressionNone, performanceOptions, encryptPackage, encryptionOptions, cgmPath, mainPackagePathForResourceExemption, makepriExeFullPath)) - 0x80080204 - The specified package format is not valid: The package manifest is not valid.
MakeAppx : error: Package creation failed.
MakeAppx : error: 0x80080204 - The specified package format is not valid: The package manifest is not valid.
@YehudaKremer
Copy link
Owner

Hello
your "identity_name" is "com.flutter.github_desktop", this configuration field cannot have "_" in it.

please change it by adding this to your pubspec.yaml file:

msix_config:
  identity_name: com.flutter.githubdesktop

@YehudaKremer YehudaKremer added bug Something isn't working fixed bug fixed labels Mar 3, 2021
@YehudaKremer
Copy link
Owner

Hello @humble-git this bug fixed, see: #25
please use version 0.1.15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed bug fixed
Projects
None yet
Development

No branches or pull requests

2 participants