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

Invalid SWC file using ADT to create an Android Native Extension

New Here ,
Apr 27, 2015 Apr 27, 2015

Copy link to clipboard

Copied

I'm following a tutorial on youtube:

https://www.youtube.com/watch?v=dfq9wiuLks4

Using Flash Builder 4.6 and and when I get to the point where the project is supposed to be built using adt I run into the following error:

"Invalid swc file:"

Here is the command I'm using:

adt -package -storetype PKCS12 -keystore newcert.p12 -storepass mypassword -tsa none -target ane notifications.ane build/ane/Notifications.swc -platform Android-ARM -C build/ane/Android-ARM

Ive tried setting the Additional Compiler Arguments in the Flex Library Compiler to this: "-locale en_US -swf-version 19"

Still the same result, If anyone can help me figure out how to trouble shoot this or isolate the problem I would greatly appreciate it.

Thanks

Views

714

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 ,
Aug 24, 2016 Aug 24, 2016

Copy link to clipboard

Copied

LATEST

You can add the following in AIRSDK_Compiler/frameworks/air-config.xml <flex_config> tag:

<swf-version>19</swf-version>

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