开发者

flex3 autoupdater error

开发者 https://www.devze.com 2023-01-23 05:57 出处:网络
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 rea

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 xm开发者_运维问答l code is here http://tinypaste.com/e3792

Please guide me.

Many Thanks


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/


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

0

精彩评论

暂无评论...
验证码 换一张
取 消