Highlighted

creating ANE package using adt tool

New Here ,
Apr 13, 2014

Copy link to clipboard

Copied

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!

TOPICS
Development

Views

565

Likes

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

creating ANE package using adt tool

New Here ,
Apr 13, 2014

Copy link to clipboard

Copied

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!

TOPICS
Development

Views

566

Likes

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
Apr 13, 2014 0
Engaged ,
Apr 14, 2014

Copy link to clipboard

Copied

It should be adt -package -target

Likes

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
Reply
Loading...
Apr 14, 2014 0
New Here ,
Apr 15, 2014

Copy link to clipboard

Copied

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> ))*

Likes

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
Reply
Loading...
Apr 15, 2014 0
Advocate ,
Apr 16, 2014

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Apr 16, 2014 0
Adobe Community Professional ,
Apr 16, 2014

Copy link to clipboard

Copied

Pretty sure it's just this forum. It likes spaces. You can see another one at the end of the adt line.

Likes

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
Reply
Loading...
Apr 16, 2014 0