问题描述
我的 Windows Phone 8.1 应用程序 (C#/XAML) 已准备好进行测试/存储,但我遇到了一个奇怪的问题.在我的诺基亚 930 上从商店下载我的应用程序时,它会在应用程序启动的闪屏期间立即退出.从商店下载后,相同的应用程序在其他手机(诺基亚 920,930,830,630)上运行良好.我的诺基亚已注册为开发者设备并在开发过程中使用.该应用程序在通过 USB 从 Visual Studio 2013.4 侧加载和/或使用应用程序部署工具侧加载商店测试数据包时工作正常.该应用程序通过了商店认证,并已上传到商店.我删除了诺基亚上的应用程序的开发版本,取消了开发设备的注册,删除了实时 sso 同意,重新启动(软)手机,安装或临时目录中没有读/写,使用 JSON.Net 6.07 读取两个 json 文件来自 localdir 等,...但商店中的应用程序仍然无法运行.dev.windowsphone.com 或 google.analytics 上没有崩溃报告
My Windows Phone 8.1 App (C#/XAML) is ready for beta/store, but I have a strange problem. When my app is downloaded from the store on my Nokia 930, it quits instantly in a flash during splash screen of the app startup.The same app works fine on other phones (nokia 920,930,830,630) after downloading it from the store. My Nokia is registered as a developer device and used during development.The app works fine when side loading it from Visual Studio 2013.4 via USB and/or side loading the store test packet with the application deployment tool. The app passed the store certification, and was uploaded to the store. I have the dev version of the app on my Nokia removed, unregistered the dev device, removed the live sso consent, restarted (soft) the phone, no reading/writing in installation or temp dir, read two json files with JSON.Net 6.07 from localdir etc.,… but the app from the store still does not work.There are no crash reports on dev.windowsphone.com or google.analytics
有什么提示吗?
更新,但没有解决方案:
Update, but no solution:
推荐答案
我还有整整两周的时间...
我在商店里有一个基于 WP 8.0 的应用,运行没有问题.
然后,我在本地将我的 WP 项目(基于 Xamarin.Forms 1.4.4)从 WP 8.0 更新到 WP 8.1(在本地工作没有问题).
注意:我认为,你用 Xamarin 开发还是直接用 WP 开发都没有关系.
I have an odyssey of two full weeks behind me...
I had a WP 8.0 based app in the store that have worked without problems.
Then, I have updated my WP-project (based on Xamarin.Forms 1.4.4) locally from WP 8.0 to WP 8.1 (has worked locally without problems).
Note: I think, it does not matter if you develop with Xamarin or directly WP.
将新包上传到 MS 开发中心后,应用程序(几天后)被运送到商店,我可以在手机上更新我的应用程序.
在手机上加载更新后,应用程序完全损坏(不再启动).
After upload the new package to the MS dev center, the app was shipped (after a few days) to the store and I was able to update my app on the phone.
After load the update on the Phone, the app was completely broken (don't start anymore).
我的奥德赛之后的结果(我也在那里打开了一个 MS 案例):
- 在开发中心加载新应用时,您必须定义和保留一个应用程序名称"(也是显示名称).
- 开发中心然后自动生成密钥"身份名称"也基于应用程序名称(身份名称"也是更新包的密钥稍后).
- 如果您定义了一个长的应用程序名称",生成的身份名称"将变长为 50 个字符,然后被自动剪切为 50 个字符(我的应用程序是什么情况,因为我已经定义了一个很长的应用程序名称").
- 如果已经安装了具有 50 个字符的身份名称"的应用,然后在 WP 8.1 设备上使用相同的身份名称"进行更新,则该应用将不再启动!立>
- 这是 WP 8.1 中的一个已知 MS-Bug
- When a new app is loaded in the dev center, you have to define andreserve an "Application Name" (also display name).
- The dev center then generates automatically the "key" "Identity Name" based also on the application name ("Identity Name" is the key also to update the package later).
- If you define a long "Application Name", thegenerated "Identity Name" will become longer as 50 characters and thenis cut to 50 characters automatically (what was the case to my app,as I had defined a long "Application Name").
- If an app with a 50 character "Identity Name" is installed already and then is updated with the same "Identity Name" on a WP 8.1 device, it don't start anymore!
- This is a known MS-Bug in WP 8.1
由于我(与 MS 一起)还没有找到解决问题的方法/用工作包更新已经交付的应用程序,我最终(不得不)进入:
As I (together with MS) have not found a way to solve the problem / update the allready shipped app with a working package, I ended up (had to) in:
向商店提供全新的应用程序(新的应用程序名称"、新的身份名称").
这意味着,已经下载了应用程序的用户对我们来说迷失了"(应用程序根本不再工作).随着新包生成了一个新的下载链接(直接链接到商店中的应用程序)(这是合乎逻辑的),我们还必须更改所有周围的主题,例如广告(传单)、主页、门户等中的二维码在...
This means, that the users, that already have downloaded the app, are "lost" for us (app simply don't work anymore).As further a new download link (direct link to app in the store) was generated with the new package (what is logical), we also had to change all surrounding themes like QR-code in advertising (flyer), homepage, portal and so on...
MS 想要增强开发中心(如果生成的身份名称"变为 50 个字符,则会发出警告),但这无济于事,如果应用程序已附带 50 个字符的身份名称".
MS want to enhance the dev center (give out a warning, if the generated "Identity Name" becomes 50 characters), but this don't help, if an app already is shipped with a 50 character "Identity Name".
这篇关于我的 Windows Phone 8.1 应用商店版本无法在我的开发手机上启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!