2010-05-11

Fixing the "unable to export SWC oem" error in Flash Builder

If you created a project using Flex Builder 3 and wish to upgrade it to Flash Builder 4, you might see the following error in the Eclipse "Problems" view when you attempt to compile for the first time:

unable to export SWC oem.

I read on several sites how to fix the problem but here is my little piece of details with step-by-step instructions:

  1. Shutdown eclipse
  2. Using your favorite text editor, open the .flexLibProperties file in the root of your project
  3. Erase all lines between the <includeResources> tags and just replace with an empty version of that tag (e.x.: <includeResources/>)
  4. Save updated .flexLibProperties file
  5. Start eclipse
  6. Use the clean and build options under the "Project" menu
And voila, your project now compiles under Flash Builder 4

Enjoy!

7 comments:

Tom Gruszowski said...

You would think this issue would somehow be fixed in FB4 :) There must be 10's of 'how to' blog posts about this. Either way thanks for posting your very concise fix for all the new Flex users who will pull their hair because of this silly bug.

Anonymous said...

酒店打工 酒店兼職
台北酒店 打工兼差 酒店工作 禮服酒店
酒店兼差 酒店上班 酒店應徵 酒店 酒店經紀

咪摩兔 said...

酒店經紀
票貼
借錢
二胎
酒店

Fluoxetine said...

The article was very interesting and informative for me. weight loss

Anonymous said...

The article was very interesting and informative for me. weight loss

Loren J Erickson said...

This is a well written article, but unfortunately it did not help resolve my problem. I guess I'll keep looking for those 10s of other articles. :(

Loren J Erickson said...
This comment has been removed by the author.