Issues getting Flash Builder 4.6 Air app to compile correctly with Flash Builder 4.7 - air

Basically the Air app compiles with Flash Builder 4.6 using the Flex 4.6 sdk. But when I open the exact same project in Flash Builder 4.7, it wants to compile it with the Air 3.4 sdk.
And, unlike in FB 4.6, FB 4.7 doesn't give any options to change the sdk under project properties, ActionScript Compiler. no toggle buttons for Use Default SDK and Use a specific SDK. FB 4.7 just has "This project will use AIR SDK 3.4" at the top without any options.
FB 4.6 and FB 4.7 are on two different machines. One possible option would be to load 4.6 on the one with just 4.6, but it's part of a new Creative Cloud license and there don't seem to be any options at Adobe to download previous versions of FB.

This is a strange thing, right :) ?
But the solution is quite simple:
Close the project.
Go to the projects folder and open .actionScriptProperties (on Mac this is hidden)
change 'useFlashSDK="true"' to 'useFlashSDK="false"' .
Save and close
Open your project again.
Voilá, you can choose the SDK again :)

Related

Compiling Adobe Air Mobile App with Air 3.9 and Greater in Flashbuilder 4.7

Ok here is the background, I created an Adobe Air mobile app with Flash Builder 4.7 and compiled it with Flex 4.9.1 and Air 3.7.. Worked great until Android 4.4 rolled out. Now the app crashes on opening.
I used the Apache Flex Installer and downloaded Flex 4.12.1 and AIR 13. I set the project property to use this Flex SDK. When I try and export a release build, I get the following error:
aapt tool failed: invalid resource directory C:\Users\Me\Appdata\Local\Temp......\captive_runtime_res/drawable-xxhdpi
So I tried to use AIR 3.9 because xxhdpi was first supported in this version of Adobe Air, but I get the same error.
I have tried using the stock aapt in the Android Tools API 19 and still get the same error.
Does anyone have any suggestions? I hope this is enough information.
Update: I uninstalled and Reinstalled Flash Builder 4.7 for a Clean Install.. Still the same results..
Ok, I believe this is specific error on my Windows 7 64bit Dev computer. I installed Flash Builder on my Mac and installed the SDKs. I compiled with no problems.

Flash Pro Desktop AIR App into Flash Builder

I would like to use the Flash Builder Profiler to analyse the performance of an AIR desktop application that ive built using Flash Professional..
The available help/resources for FlashBuilder show how to set up an existing FlashProfessional project inside FB but theres no mention of what to do if its an Air app.
Basically it defaults it to a Web Application.
Ive tried creating a new Desktop Application profile config but it says 'Project must be an Adobe AIR desktop project'. Looking at the project properties under the ActionScript Compiler section it does look to be targeting AIR SDK.
Really stumped with this and so any help appreciated.
If you need to profile your app, ignore anything from Flash Builder or Flash Pro or Flash Develop or IntelliJ or any other IDE. Instead, use Adobe Scout. Adobe built Scout purposefully for Flash profiling, specifically with AIR apps and games in mind. The app is very powerful and should be everything you should ever need to analyze your app. The profilers provided by the IDEs do not even compare, especially when you turn on advanced-telemetry

FDT launches external swf viewer instead of ADL

I have a newly downloaded copy of FDT5, with the Flex 4.6 SDK merged with AIR 3.7 SDK. When I launch a FDT AIR App project 'on desktop', it launches the "external swf viewer" instead of the ADL. I have spent the day googling and have no idea why it could be doing this. The app works fine on the iPhone itself. Thanks in advance :)

Xcode library reverted to 5.1 from 6

I have been developing an app using Xcode, which included the Facebook SDK. The Facebook SDK requires the AdSupport.framework and the Social.framework, both of which were previously installed, but seem to have disappeared. My question is how do it update the library to 6.0, instead of five? I understand that you have to go into the build phases and add the frameworks in the Line Binary With Libraries section, but when I go to add the framework, the folder is 5.1, not six. I have looked through the Apple doc's and haven't found anything.
Here is an image of what I'm getting:
It should look like this:
There should be no way the SDKs provided with Xcode can regress. However you could see them vanish if you launch an older version of Xcode.
Based on experience, if you had Xcode installed before it was a single app bundle and have subsequently installed the app bundle version then there's a reasonable probability the old version is still present and therefore good odds that a Spotlight launch will open the wrong one.

Cannot deploy an AIR application to an iPod Touch

I'm using Flash Builder 4.5 with Flex SDK 4.5.1, and when trying to deploy an app to a 2nd gen iPod Touch with latest available iOS I get an error saying the app is not valid, and according to some Adobe sites, only 1st generation iPods aren't supported. The application works fine in an iPhone.
Should I change some setting, update to AIR SDK 3.1, or am I wrong thinking my app should work on this device despite Adobe's pages?
From what I managed to gather a week ago, Adobe dropped iPod Touch 2ng Gen support with AIR 2.6 (or even 2.5, I don't know for sure).
However, one may be able to compile a Flex Mobile project targetting an old AIR SDK version (or a more recent one if you can target Flash 10.1), and then use PFI (the old packager for iPhone before it was combined with ADT) so your application works with older iOS devices.
Sadly, my current project is forced to use ANE, so I guess I must forget about supporting old devices.