The msix installer after flutter packaging prompts: Application installation failed, error message: Deployment of package com.flutter.XXXXX has been blocked and other solutions

When using dart's packaged program that relies on msix, the following prompts:

App installation failed with error message: Deployment of package com.flutter.flutterapp_1.0.0.0_x64__fxkeb4dgdm144 has been blocked because the provided package has the same identity as the installed package, but the content is different. Please increase the version number of the package you want to install, or remove the old package for each user on the system before installing this package.  

Solution:

Right-click on the msix installation package > Click Digital Signature > Details > View Certificate > Install Certificate > For All Users > Continue to Next > Click Install. Finally succeeded. That's it

detailed steps

1. Right-click on Properties and select Digital Signature

2. After clicking on details: 

3. After clicking to view the certificate: 

4. After clicking to install the certificate:

 

5. Click Next: Click Finish

 

6.Final prompt OK: 

Then click Install: 

 

Guess you like

Origin blog.csdn.net/weixin_44786530/article/details/135308606