I'm trying to execute a unit test form FlashBuilder, but when executing the tests, I get an error message saying 'Errors were encountered while building FlexUnitApplication SWF
Unable to resolve resource bundle "Components" for locale "en_US"
This error appears with approximately 10 other resource bundle errors, when trying to execute the tests. The tests live inside a library project.
This works fine on a Flash Builder installation on a mac, but it fails on a windows box.
I had a similar problem and the solution was to add the Flex library resources to the build path. In the project properties, under "Flex Library Build Path" and the "Library Path" tab, I added
C:\Program Files (x86)\Adobe\Adobe Flash Builder 4 Plug-in\sdks\4.1.0\frameworks\locale\en_US
This allowed the Flex Unit compiler to find the resources associated to the Flex libraries and eliminated the missing bundle error.