Skip to main content
Inspiring
February 19, 2013
Answered

SDK is missing GPL component

  • February 19, 2013
  • 3 replies
  • 4460 views

I am using Flash Builder 4.7 and today I upgraded to the AIR 3.6 SDK which I got from here:

http://www.adobe.com/devnet/air/air-sdk-download.html

And then replaced the existing AIR 3.5 SDK by following the instructions here:

http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder. html

My application (which is almost complete) runs fine in the AIR simulator but when I try to run it in debug mode on my iPhone I get this error:

Error occurred while packaging the application:

SDK is missing GPL component /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/ aot/bin/as/as-arm

What am I missing? I have worked hard core on this app over the last couple months and have installed and ran it many many times.

- Randy

This topic has been closed for replies.
Correct answer randy_troppmann

I solved my own issue and it was caused by the confusing instructions here:

http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html

Firstly the link says overlay yet the instructions are for "update" which is consistent with the instructions because no overlay occurs. The user is instructed to delete all the contents in AIRSDK directory and run a command line that unpacks the new files in place. Then there are instructions to copy the contents of the AOT from the old folder over. This was where I made my mistake. I simply replaced this directory which replaced the contents and suddenly some key files were missing.

To fix this, I reinstalled the old AIRSDK directory and ran the command line which OVERLAID the new SDK files over the old ones which replaces the necessary files with upgraded ones and leaves the rest intact. Now my project compiles without error.

Adobe, this is a problem. I realize that "overlaying" in this manner is not clean and can leave garbage behind, but your instructions on this page are problematic. Can you please devise a cleaner, easier and less problematic way of updating the SDK that does not require the command line?

- Randy

3 replies

Santanu Karar
Known Participant
March 12, 2013

Well, that is very lame. Thank you for sharing the fix Randy, Adobe should review the contents with tech. people before releasing to the net.

Colin Holgate
Inspiring
February 19, 2013

Is your app a Flex one? If so, did you see this note on the page that you gave the link to?:

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

Inspiring
February 19, 2013

No,

It is a pure AS3 project.

- Randy

randy_troppmannAuthorCorrect answer
Inspiring
February 19, 2013

I solved my own issue and it was caused by the confusing instructions here:

http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html

Firstly the link says overlay yet the instructions are for "update" which is consistent with the instructions because no overlay occurs. The user is instructed to delete all the contents in AIRSDK directory and run a command line that unpacks the new files in place. Then there are instructions to copy the contents of the AOT from the old folder over. This was where I made my mistake. I simply replaced this directory which replaced the contents and suddenly some key files were missing.

To fix this, I reinstalled the old AIRSDK directory and ran the command line which OVERLAID the new SDK files over the old ones which replaces the necessary files with upgraded ones and leaves the rest intact. Now my project compiles without error.

Adobe, this is a problem. I realize that "overlaying" in this manner is not clean and can leave garbage behind, but your instructions on this page are problematic. Can you please devise a cleaner, easier and less problematic way of updating the SDK that does not require the command line?

- Randy

Participating Frequently
May 8, 2013

Randy Troppmann wrote:

I solved my own issue and it was caused by the confusing instructions here:

http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder. html

Firstly the link says overlay yet the instructions are for "update" which is consistent with the instructions because no overlay occurs. The user is instructed to delete all the contents in AIRSDK directory and run a command line that unpacks the new files in place. Then there are instructions to copy the contents of the AOT from the old folder over. This was where I made my mistake. I simply replaced this directory which replaced the contents and suddenly some key files were missing.

CONFIRMED those instructions at the link are not well written and at worse are wrong.  Overlay is what is needed, not deleting and unpacking.  Insetad: 1. I unpacked "AIRSDK_Compiler.tbz" to reveal "AIRSDK_Compiler" in the same directory as the "AIRSDK".  2. drag the parent folder "com.adobe.flash.compiler_4.7.0.349722" to the terminal app icon. 3. Use the command ditto, paste "ditto AIRSDK_Compiler AIRSDK" without the quotes.