Missing Flex 4.1 SDK — Found

by David Salahi on July 9, 2010

I read RJ Owen’s blog post on the Flex 4.1/Flash Builder 4.0.1 releases so I decided to check my installation to see if was up to date. First, I tried the Help –> Search for Flash Builder Updates option in Flash Builder and it told me that Flash Builder itself was already up to date. I’ve been getting update notices from the Adobe Updater regularly so that made sense.

However, when I tried to create a new project I found that the Flex 4.1 SDK was not shown as an option. So, I downloaded the SDK manually and unzipped it. I wasn’t sure what to do with it next and the installation procedure in the release notes isn’t quite right, at least not for an update. So, I took a look inside my Adobe program files directory tree and found an Adobe Flash Builder 4\sdks directory which contained 3.5.0, 4.0.0 and 4.1.0 subdirectories. Furthermore, the 4.1.0 directory appeared to contain the same set of files as I just downloaded.

So, I was puzzled. If I already had the new version of the SDK why didn’t Flash Builder know about it? I haven’t found the answer to that question but I figured out the solution. It’s quite easy, in fact. All you have to do is right-click on a project and choose Properties. Then click the Flex Compiler option and on the right of the dialog there is a link that says "Configure Flex SDKs." All you have to do is click that link, do Add and choose the directory containing the Flex 4.1 SDK.

It’s too bad the Adobe Updater didn’t take care of that for me. I didn’t even know the 4.1 SDK directory was there. Fortunately, I went snooping and the fix is easy. But there’s one other gotcha. If you’re using multiple workspaces you have to repeat the procedure for each workspace.

Update July 12, 2010

It seems that my 4.0.1/4.1 upgrade had a problem even though the installation appeared to go smoothly and didn’t report any errors. Although I was able to work around the 4.1 SDK problem as described above I discovered that Flash Builder hadn’t actually been upgraded to 4.0.1. I found this out when I tried to export a release build of one of my projects and nothing happened. I tried several times in various projects in various workspaces. I even rebooted my PC but nothing helped. Export –> Release Build just did nothing in every case.

That’s when I found that I was still running Flash Builder 4.0—but apparently a corrupted version. I found this thread on the Adobe Forums which describes the same problem. I downloaded the latest code from adobe.com, uninstalled and reinstalled. That fixed the Export –> Release Build problem. And the 4.0 SDK has been completely replaced by the 4.1 SDK now.

{ 1 comment… read it below or add one }

wanderingWriter November 7, 2010 at 1:15 pm

Hello David,

I’ve encountered the same issue you described in this post, but I am not sure if I can manually uninstall and reinstall it, as it is part of the broader CS5 installation.

Could you please have a look at this thread I opened?
http://forums.adobe.com/thread/748725
Thank you. :-)

Leave a Comment

 

{ 1 trackback }

Previous post:

Next post: