blackberry / WebWorks-TabletOS

BlackBerry WebWorks for Tablet OS is a platform for building deeply integrated web applications for the BlackBerry PlayBook
http://us.blackberry.com/developers/tablet/webworks.jsp
Apache License 2.0
70 stars 14 forks source link

Air validation error occurs with some developer setups #43

Open kwallis opened 12 years ago

kwallis commented 12 years ago

Some developers have encountered a "Air validation error" during packaging of their webworks app. A solution was found that required the user to make the following manual change to a file:

A bit of a long shot, but could you try modifying the following file, default path: C:\Program Files\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2.2.0.5\bbwp\blackberry-tablet-sdk\frameworks\flex-config.xml

Specifically, this line: 11

To: 10

Error output example:

*zip: [zip] Building zip: c:\EclipseWorkspace\PlaybookGoogleCalendar\build\gcal.zip

bar: [exec] [INFO] Parsing command line options [exec] [INFO] Parsing bbwp.properties [exec] [INFO] Validating WebWorks archive [exec] [INFO] Parsing config.xml [exec] [INFO] Validating config.xml [exec] [INFO] Validating application version [exec] [WARNING] Failed to find a element [exec] [INFO] Validating therim:loadingScreen element [exec] [INFO] Validating the element [exec] [INFO] Validating the element [exec] [INFO] Populating application source [exec] [INFO] Compiling WebWorks application [exec] Loading configuration file C:\tools\rim\playbook\webworks\bbwp\blackberry-tablet-sdk\frameworks \air-config.xml [exec] C:\Users\daniel\AppData\Local\Temp\widgetGen.20097582431321679378212 .tmp\gcal.swf (244283 bytes) [exec] [INFO] Packaging the bar file [exec] Error: AIR validation failed [exec] c:\Users\daniel\AppData\Local\Temp\bar-app3517266662853549021.xml: error 305: Intial window content SWF version 11 exceeds namespace version http://ns.adobe.com/air/application/2.5