flex3 自动更新程序错误
亲爱的大家,我正在研究flex3,想通过flex3自动更新来更新我的应用程序。当我安装的应用程序运行时,我的 checkUpdate 函数调用 autoUpdater 代码。它启动,但当达到 100% 时,它显示此错误:“下载更新时出错。Error# 16824”
我的 mxml 代码在这里 http://tinypaste.com/92138b 和服务器 xml 代码位于此处 http://tinypaste。 com/e3792
请指导我。
非常感谢
Dear all, I am working on flex3 and want to update my application by flex3 autoupdate. When my installed application runs, my checkUpdate function calls the autoUpdater code. It starts but when it reaches to 100%, it shows this error: "There was an error downloading the update. Error# 16824"
My mxml code is here http://tinypaste.com/92138b and server xml code is here http://tinypaste.com/e3792
Please guide me.
Many Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
谷歌是你这方面的朋友;看起来您忘记更新互联网上更新版本中的应用程序描述符版本号。
http://dezeloper.wordpress.com/2010/ 01/21/adobe-air-updater-error-16824/
Google is your friend for this one; it looks like you forgot to update the application descriptor version number in the updated version on the interweb.
http://dezeloper.wordpress.com/2010/01/21/adobe-air-updater-error-16824/
我无法看到您的代码,因为我们的工作路由器阻止了tinypaste。不过,我可以告诉您,通过 ApplicationUpdater 类完成的空中更新全部基于您创建/复制的更新程序 xml 文件,以及用于设置文件名、版本的编译器的 xml 文件,应用程序 ID 等(其中大部分用于 exe 编译器/exe 包装器,促进操作系统和已编译的 Actionscript 代码之间的“桥梁”)。此链接可能会有所帮助:dezeloper.wordpress.com< /a>.
总之继续调试。 ApplicationUpdater 类是一个写得相对较好的类,并且非常不言自明......一旦您克服了这个错误,还有更多可能是同步 xml 文本的麻烦。例如...我可以告诉您,在 AIR 1.0 中(在最近的版本中可能仍然如此),如果您对应用程序 xml 文件进行了更改,并且从 eclipse/flexBuilder/flashBuilder 进行编译,则必须“project > clean”以便获取那些 xml 选项。
祝你好运,
杰里米
I was unable to see your code as our work router blocks tinypaste. That said, however, I can tell you that air updates done via the ApplicationUpdater class are all based upon the updater xml file that you create/copy-out-there, and the xml file used for the compiler that sets the filename, version, application ID, etc. (most of which is used for the exe-compiler/exe-wrapper that facilitates the "bridge" between the OS and your compiled actionscript code). This link, might help: dezeloper.wordpress.com.
All-in-all keep debugging. The ApplicationUpdater class is one that was relatively well-written and is pretty self-explainable... once you get past this bug, there are a couple more that might be a sync-the-xml-text pain-in-the-butt. For example... I can tell you that in AIR 1.0 (and this may still be true in recent releases) if you made a change to your application xml file, and you're compiling from eclipse/flexBuilder/flashBuilder, you had to "project > clean" for those xml options to get picked up.
Best of luck,
Jeremy