Skip to main content
Participating Frequently
Apr 24, 2014 7:36 PM UTC
Question

ADT Command Not Working

I'm trying to package up a Mac OS X Native application with the following command:

`adt –package -storetype pkcs12 -keystore HelloWorld.p12 HelloWorld.xml`

However I get the error:

`unexpected argument –package`

What am I doing wrong? I'm expecting to create `HelloWorld.app` from the command... Can anyone help?

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

Infin8
Inspiring
Nov 27, 2018 2:49 PM UTC

As Nimisha1 mentioned, I believe the `unexpected argument –package` message is due to the dash not being correct.

I've just had the same issue from copying and pasting.

Delete the dash and type a minus ( - ) character.

Translate
User Unknow
Legend
Apr 24, 2014 7:47 PM UTC

Looks like you need add ADT to environment variables.

http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-71994050128cca87097-8000.html

Translate
Participating Frequently
Apr 24, 2014 7:50 PM UTC

If I do this:

adt -version

I get:

13.0.0.83

So that should mean environment variables are set up fine right? ADL works fine too.

Translate
Nimisha1
Participating Frequently
Apr 25, 2014 9:16 AM UTC

Looks like you're using --package rather than using -package:

`adt –package -storetype pkcs12 -keystore HelloWorld.p12 HelloWorld.xml`

Translate