Thursday, January 24, 2013

Flash Builder: Package Explorer Could not create the view

I installed flash builder 4.5 on windows 7 box, and when I launched I ended up with this error

Could not create the view: Plug-in "com.adobe.flexbuilder.as.editor" was unable to instantiate class "com.adobe.flexbuilder.as.editor.ui.packageexplorer.FlexPackageExplorer".




To resolve this error, start the flashbuilder with -clean option, this will force flash builder to clear the cache, and rebuild it.

Check the path of your flex workspace, If its pointing to some network location, change the flex workspace path to your local hard disk. When you change the flex workspace, flexbuilder will close and relaunch.

Create a new shortcut and edit the path and add  -Clean to the end.

 "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\FlashBuilder.exe" -clean

5 comments:

  1. Also try deleting everything in your workspace folder. The -clean option did not work for me but deleting the workspace did work.

    ReplyDelete
    Replies
    1. Just delete the .metadata folder from Flash Builder, not you entire workspace. It's an hidden folder.

      Delete

  2. appears the air sdk is indeed not complete. So you need to overwrite the old sdk with the new one without deleting old, so that missing files would stay. I just don't understand why all the instructions say that you should delete the old one completely.

    ReplyDelete
  3. Just cleaning the workspace would do the job

    ReplyDelete