Invalid package family name error on Windows PhoneGap app

守給你的承諾、 提交于 2019-12-12 04:39:04

问题


I have done a windows app using phoneGap, But when I upload the APPX file in windows dev center, I got some errors like 'Invalid package family name'.


回答1:


I worked through a similar problem today and I found this article helpful:

http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html

Check your build configuration file (build.json) and make sure you select a release if your release settings are defined to match the Strong Name with the Windows Store expected Publisher Name.

If you are using Tools for Apache Cordova (TACO), you will also want to review your config.xml file both with the GUI and then with an raw XML editor like WordPad.

   <preference name="WindowsStoreDisplayName" value="XXX" />
   <preference name="WindowsStoreIdentityName" value="YYYXXX" />
   <vs:platformSpecificValues>
     <vs:platformSpecificWidget platformName="windows" id="_ZZZZZZZZ" />
   </vs:platformSpecificValues>

Where you fill in the value the Windows Store expects in the XXX, YYY and ZZZ fields.

Hope that helps, Adam




回答2:


if you are using https://build.phonegap.com you need compile using cli-6.0.0



来源:https://stackoverflow.com/questions/44179436/invalid-package-family-name-error-on-windows-phonegap-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!