I am running Flash Builder 4.6 and just added Apache flex sdk 4.9.1 (build 1447119) to my mac book pro running Moutain Lion and when i tried to do a quick 'hello world' and add a few elements to the stage using design mode i got following error:
The design mode is disabled as the project uses an incompatible version of the flex sdk
My question is if i go beyond the default sdk that shipped with fb 4.6 do I therefore loose the ability to use design mode and have to do everything in source mode?
Also, if i am using windows the error is quite similar when i mouseover on Design
tab
Design mode not supported - incompatible SDK version - Apache Flex
Thanks
In November, 2011, Adobe announced they were no longer supporting Adobe Flex.
Install the Flex SDKDownload Flex SDK ZIP file from the Adobe Website or the Adobe Open Source site. Create a directory to contain Flex SDK. Extract the Flex SDK ZIP file to this directory.
FlexJS™ is a new application development framework that cross compiles MXML and ActionScript into HTML and JavaScript. It runs in web, desktop and mobile(app) in swf format and runs in browser based environments as HTML/JS/CSS files without the need for the Flash Player plugin.
There is a hack you can do to get it working (I've done this myself and it works perfectly so far) that involves editing an XML file in the 4.9.1 SDK to trick Flash Builder into thinking it is using Flex 4.6. You'll need to edit the 'flex-sdk-description.xml'
Version tag and change it from 4.9.1 to 4.6 and that should take care of it. Location of the file is in the SDK folder in 4.9.1 folder, here is the path in Windows 7:
C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.9.1
I confirm the say by wakqasahmed
I changed it at Apache Flex 4.10
<?xml version="1.0"?>
<flex-sdk-description>
<name>Apache Flex 4.10.0 FP 11.8 AIR 3.8 en_US</name>
<!--version>4.10.0</version-->
<version>4.6.0</version>
<build>20130801</build>
</flex-sdk-description>
And the Design mode is enable again!, Thanks
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With