Jump to content

Recommended Posts

I want to create AIR applications. I have downloaded the current AIR app and the current SDK files. I have followed a few different tutorials about creating an air app. Each tutorial works fine when testing the created files against the adl.exe file. My issues arise when i try to publish the actual AIR file in the command line.

 

I am able to create the PFX file fine using a command similar to -

C:\apache2triad\htdocs\air\sdk\bin>adt -certificate -cn SelfSigned 1024-RSA samp
leCert.pfx samplePassword

 

But when i try to create the AIR file like this -

C:\apache2triad\htdocs\air\sdk\bin>adt -package -storetype pkcs12 -keystore samp
leCert.pfx HelloWorld.air C:\apache2triad\htdocs\air\projects\HelloWorld\HelloWo
rld-app.xml C:\apache2triad\htdocs\air\projects\HelloWorld\HelloWorld.html C:\ap
ache2triad\htdocs\air\projects\HelloWorld\AIRAliases.js

 

I get the the following message with no resulting AIR file -

absolute path: C:\apache2triad\htdocs\air\projects\HelloWorld\HelloWorld.html
usage:
  adt -checkstore SIGNING_OPTIONS
  adt -certificate -cn <name> ( -ou <org-unit> )? ( -o <org-name> )? ( -c <count
ry> )? <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> ))*

 

I believe the actual error within it is.. WHY? -

absolute path: C:\apache2triad\htdocs\air\projects\HelloWorld\HelloWorld.html

 

Also other attempts have resulted in the error message saying "not enough arguments" then giving the same "usage" help as above.

 

I REALLY need to figure this out. Any help is much appreciated.

 

Thank you, Cesar

Link to comment
https://forums.phpfreaks.com/topic/122999-error-publishing-adobe-air-file/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.