I guess I need your help.
Since applying the AIR 2.7 SDK over the CS5 Flex 3.4 SDK, any attempt to debug results in the dreaded message:
D:\Program Files\Adobe\Adobe Flash CS5\Players\FlashPlayer.exe
Flash Builder cannot locate the required debugger version of Adobe Flash Player. You might need to install the debugger version of the Flash Player or reinstall Flash Builder.
Do you want to try to debug with the current version?
What do I do to solve this?
AIR 2.0 SDK might be the maximum you can use with Flex 3.4, though off the top of my head I am not entirely sure.
I would try again with AIR 2.0 SDK.
By the way, since Extension Builder 1.0.2, and CS SDK 1.5, the bundled Flex 3.4 SDK should already have an AIR 2.0 SDK overlay. If that's not what you've found please let me know which product and version you are using and someone can look into it.
Since we are not Adobe partners, I don't have Extension Builder. I have to write my extensions "the hard way" using Flash Builder and manually constructing manifests, etc...
I downloaded the CS5 SDK about a year ago. the directory says "CreativeSuiteSDK-220.127.116.11004282239" if that gives you a clue. Is there a newer version of the SDK that I could get without being a partner?
Yes, CS SDK 1.5 was released a few months ago - see the downloads section on this page http://www.adobe.com/devnet/creativesuite/cs-extension-builder.html
The free SDK has changed little since 1.0, but the AIR SDK overlay should now be present.
You can also download the Extension Builder 1.5 trial (linked to on the page David posted above) - as well as including the CS SDK it will also let you develop extensions "the easy way" :-)
I believe the trial will be running for another few months at least.
To David Clark and/or Bob Stucky (or anyone else who could help):
I managed to get the AIR SDK 2.0 ServerSocket up and running. However, I could not get flash.net's NetworkInfo to work - I get "Class flash.net::NetworkInfo could not be found."
What could be wrong?
This may be a configuration issue of the extension. I have noticed that some of my extensions do allow AIR 2.0 classes/methods and some do not. The immediate issue is that some of the extensions have
at the root of their "MyProject-app.xml" file (I mean the file in "src", and not the manifest file under "CSXS")
and some have
Now, I am not as stupid as my ex probably told you, so I obviously tried changing "1.5.2" to "2.7" (or "2.6" or "2.0") in the extensions with "1.5.3". But then when I tried to run them, I got the message:
Please correct the following problem in the app.xml file for this application.
invalid application descriptor: descriptor version does not match runtime version
Launch command details: "L:\3rdParty\cssdk-free-18.104.22.168104110936\CreativeSuiteSDK\CS Flex SDK 3.4.0\bin\adl.exe" -runtime "D:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\runtimes\air\win" L:\Dev\Product\v1.0\Client\PresentationLayer\InDesignPlugins\Extensio nA\ExtensionA\ExtensionA-app.xml L:\Dev\Product\v1.0\Client\PresentationLayer\InDesignPlugins\Extensio nA\ExtensionA
I should have been more precise. The error message I gave above is from when I try to debug the extension. If I simply run the extension, the I get a runtime error with the following message:
Error #2012: NetworkInfo class cannot be instantiated.
Europe, Middle East and Africa