Flash Builder 4 and AIR 2.6 are technically not a supported configuration, and the version of Flash Builder Burrito that is on Labs is not 2.6 compatible yet, either. Fortunately, with a very simple work-around, it is possible to combine AIR 2.6 and Flash Builder 4.
The first thing you need to do is overlay the SDK (combine the AIR SDK with the Flex SDK). These instructions haven’t been updated in some time, but they’re still accurate.
Once you’ve added the new SDK in Flash Builder, you will find that you have access to new AIR 2.6 APIs (overview here), however if you try to run your application, you will get a runtime
VerifyError. To work around this issue, follow these simple steps:
- Right-click on your project and choose "Properties".
- Select the "Flex Compiler" section.
- In the "Additional compiler arguments" field, add
- Click "OK".
Debug your application again, and everything should work fine.