• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
1

How to setup Flex SDK with latest AIR SDK?

Community Beginner ,
Apr 03, 2013 Apr 03, 2013

Copy link to clipboard

Copied

Now the latest AIRSDK web page has a small link at the bottom for Flex users and it states that Flex users should take the SDK version without the compiler. BUT....

the http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html page says to download the SDK from

http://labs.adobe.com/downloads/asc2.html

but this page now redirects to:

http://helpx.adobe.com/air/kb/archived-air-sdk-version.html

which contains a large list of archived SDK's. So that help page never really says which version of the SDK to use - with or without the compiler. But other forum posts have implied its suppose to be the one with the compiler.

Now since we're overlaying the ...plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK folder that would make sense.

But now there's a second overlay instructions page at:

http://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html

with different instructions.

So my questions are:

   Which overlay instructions are we really suppose to use?

   Which version of the AIR SDK (with or with-out compiler) are we suppose to use?

   What does the Flex Library Project properties -> Flex Library Compiler -> 'Include Adobe AIR libraries' checkbox really do?

        If I've followed the (first) overlay instructions above, does this checkbox now mean I'm using the overlaid AIR SDK 3.6

        with the current Flex SDK I've chosen?

        What if I'm using the Apache Flex 4.9.1 SDK? Will the AIR SDK 3.6 overlay that?

            (Doesn't Apache Flex have AIR 3.4 embedded - will this confuse Flash Builder 4.7 ?)

Is it just me, or is this just getting more and more confusing? Can we perhaps get a AIR SDK combo box to go beside the Flex combo box and when we check the 'Include Adobe AIR libraries' then we can select the AIR SDK we want? And get a 'configure AIR SDKs...' link too? Then perhaps we can get completely away from overlays and all this merged SDK nonsense. I've had nothing but problems with it.

The real reason I need all this info is because I'm trying to use Flash Builder 4.7 to build an Android ANE and I'm having a devil of a time just trying to find my resources. When I use context.getResourceID() I'm not getting the correct resources - and after reviewing other posts here I came to the conclusion that it might be due to bugs in older AIR SDK's. So really, at the moment I could care less about the latest Flex SDK, I just need to know I'm working from the latest AIR SDK.

Thanks in advance.

Views

6.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 04, 2013 Apr 04, 2013

Copy link to clipboard

Copied

If you are not using Flash Builder go here: http://www.adobe.com/devnet/air/air-sdk-download.html

At the bottom it says:

Note : Flex users will need to download the original AIR SDK without the new compiler. Mac Windows.

Download the proper one for your OS and then extract it over your existing Flex SDK directory.

EDIT: Just read your post again and noticed you mentioned Flash Builder. In that case you want to follow these directions: http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html and grab the version with the compiler at http://www.adobe.com/devnet/air/air-sdk-download.html

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 05, 2013 Apr 05, 2013

Copy link to clipboard

Copied

Yeah, so far I've learned that I can copy the non-compiler version over my Apache 4.9.1 SDK and that has worked ok so far.

Also, I can copy the compiler version over the FB eclipse plugin folder mentioned above and that seems to work.

So I hope that by doing both there's a good chance I'm running the latest AIR (need to see if I can find a method I can call to verify the version of AIR I'm using at runtime.)

Unfortunately, I'm still not having any luck accessing my native android resources. I'm going to have to dig through more of the open source ANE's out there to see if one actually makes resource calls - the 2 I've viewed so far don't use them.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 10, 2013 Apr 10, 2013

Copy link to clipboard

Copied

LATEST

Update: Recent adobe article I found on ANE's talks about upgrading the AIRSDK for Flash Builder. I recommend it:

http://www.adobe.com/devnet/air/articles/ane-android-devices.html

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines