Skip navigation
Home/Support/

Forums

3817 Views 8 Replies Latest reply: Jul 31, 2009 5:46 AM by Gilles Guillemin RSS
richardleggettmk User 35 posts since
Nov 5, 2003
Currently Being Moderated

Jul 8, 2009 8:03 AM

Using Flex 4 nightly SDK's in Flash Builder 4

Hi,

 

After downloading the Flex 4 SDK beta 1 and copying it into my Flash Builder 4 (beta) sdks/ directory I get internal build errors on all projects (e.g. a new one).

 

Has the SDK format changed for FB4?

 

Sources:

SDK 4.0.0.7219 - http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4

Flash Builder 4 - http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_flashbuilder 4

  • CoreyRLucier Adobe Employee 405 posts since
    Apr 10, 2009

    So, when there are internal build errors the actual crash info (call stack) is logged in the FB error log.  I'm on Mac, but you can view the error log with something like:

     

    Help-->Product Details-->Configuration Details-->View Error Log

     

    Post the error here and we can hopefully decipher.

     

    In any event, I'm not sure it's a great idea to copy files over into your Flash Builder installation per say ...  I usually check it out in its own location and add a new Flex SDK ...

     

    (Window-->Preferences-->Flash Builder-->Installed Flex SDKs)

     

    That way you can create a new project and specify your alternate SDK in the new project wizard, leaving the stock SDK that came with FB unmodified.

     

    -Corey

  • deepa subramaniam (adobe) Adobe Employee 217 posts since
    Mar 24, 2004

    Hello -

     

    There is a known problem with the Flash Builder Beta build when switching to use a nightly 4.0 SDK - you will get an internal build error citing a ClassCast Exception. This is a Flash Builder issue that was fixed post-Beta. The problem with using nightly SDK builds in the Beta comes up only when you use more than one version of the Flex 4 SDK (i.e. a nightly build and the one included with the FB Beta). You will get an internal compiler error.

     

    To resolve this issue, you could switch all your projects to use the same version of the Flex 4 SDK (or Flex 3 is ok), and then restart Flash Builder to get rid of the build error _OR_ create a new workspace (and ensure you're using only one version of the 4.0 SDK in that workspace).

     

    Please reply back to this thread if this does not work.

     

    Cheers,

    Deepa Subramaniam

    Flex SDK Engineer

  • sharonma User 60 posts since
    Mar 24, 2004

    Hi Richard,

     

    This is a known issue http://bugs.adobe.com/jira/browse/FB-19867 which happened in Beta build but should be fixed in latest build.

     

    Thanks,

    Sharon

  • Glenn Williams User 327 posts since
    Oct 5, 2006

    !!!! what!!! Oh thanks so much. This had been driving me mental!

     

    Such a simple fix too. Aint it always the way

     

    Cheers for the head up.

     

    glenn

  • Gilles Guillemin Calculating status... 13 posts since
    Jul 27, 2009

    Hi,

     

    I've tried to apply Deepa's workaround every possible way but it doesn't seem to work for me. I'm trying to use today's nightly build (4.0.0.8811) but I keep hitting the same current error. I'm using Flash Builder Beta 1 Eclipse plugin (with Ganymede) on a new workspace, with only one project created in the workspace.

  • Gilles Guillemin User 13 posts since
    Jul 27, 2009

    FYI, it now seems to work fine (Nightly Build 4.0.0.8945). I can even manage to use different versions of the SDK in the same workspace.

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points