Different versions of AIR and Flash being used in release and debug

偶尔善良 提交于 2020-02-08 07:47:52

问题


I am making a few HTTP/HTTPS requests to my servers from an Adobe Air application. While monitoring the network traffic (using Fiddler web debugger), I noticed that when debugging, a different version of Air and flash were being used than when the installed application (production) is executed.

Here's are the differences:-

**Production**
User-Agent: Mozilla/5.0 (Windows; U; en-US) AppleWebKit/533.19.4 (KHTML, like Gecko) AdobeAIR/17.0
x-flash-version: 17,0,0,128

**Debug - adt**
User-Agent: Mozilla/5.0 (Windows; U; en-US) AppleWebKit/533.19.4 (KHTML, like Gecko) AdobeAIR/3.1
x-flash-version: 11,1,102,58

How can I ensure to be running the application with the same version of AIR and flash while debugging, because the difference in environments is a cause of concern.


回答1:


you can target specific flash players with compiler options... like swf-version=17

Here are the docs about using the options




回答2:


What IDE do you use? In both cases do you start application on iphone or in simulator? I suppose It just means you have two different AIR runtimes installed in you system, one - production, another one comes with your IDE and AIR SDK for debugging. Answer how to renew you IDE AIR, depends on what IDE do you use.



来源:https://stackoverflow.com/questions/29635775/different-versions-of-air-and-flash-being-used-in-release-and-debug

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