Skip to main content
Participant
April 14, 2014
Question

creating ANE package using adt tool

  • April 14, 2014
  • 1 reply
  • 691 views

I am trying to follow this tutorial:

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

When it comes to packaging the ANE file step:

"$adt"  package  target ane SampleASExtension.ane extension.xml  swc ../ANESample/bin/ANESample.swc -platform Android-ARM -C Android-ARM .

I keep getting the error "No file found SampleASExtension.ane".

Does anyone know what the problem might be?

Thanks!

This topic has been closed for replies.

1 reply

Participant
April 15, 2014

Yes, I did that (sorry that didn't get copied correctly into my original message).

Here is the exact script I am using:

#adt="/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/bin/adt"

adt="C:/Program Files/Adobe/Adobe Flash Builder 4.7 (64 Bit)/sdks/3.6.0/bin/adt"

nativedir="C:/Users/EagerFlash/Desktop/ANESample_java"

rm -rf Android-ARM/*

rm -f SampleASExtension.ane library.swf

mkdir -p Android-ARM

unzip ANESample.swc library.swf

cp library.swf Android-ARM

cp "$nativedir"/ANESample.jar Android-ARM

cp -r "$nativedir"/res Android-ARM

"$adt" -package -storetype PKCS12 -keystore cer.p12 -storepass password -target ane SampleASExtension.ane extension.xml -swc ANESample.swc -platform Android-ARM -C Android-ARM .

And here is the error I am getting:

$ ./buildANE.sh

********************************************************************

- creating ANE package

Archive:  ANESample.swc

  inflating: library.swf

no such file C:\Users\EagerFlash\Desktop\ane-android-sample\ANESampleArchive\Test\SampleASExtension.ane

usage:

  adt -checkstore SIGNING_OPTIONS

  adt -certificate -cn <name> ( -ou <org-unit> )? ( -o <org-name> )? ( -c <country> )? <key-type> <pfx-file> <password>

  adt -help

  adt -migrate SIGNING_OTIONS <air-file-in> <air-file-out>

  adt -package SIGNING_OPTIONS <air-file> <app-desc> FILE_ARGS

  adt -prepare <airi-file> <app-desc> FILE_ARGS

  adt -sign SIGNING_OPTIONS <airi-file> <air-file>

  adt -version

SIGNING_OPTIONS: -storetype <type> ( -keystore <store> )? ( -storepass <pass> )? ( -keypass <pass> )? ( -providerName <name> )? ( -tsa <url> )?

FILE_ARGS: <fileOrDir>* (( -C <dir> <fileOrDir>+ ) | ( -e <file> <path> ))*

User Unknow
Legend
April 16, 2014

Why I see "ve\Test\ SampleAS" space between \ and S?