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

7 replies

May 28, 2013 8:32 PM UTC

One additional way of specifying arguments that would be useful for us would be to add support to ADT for reading the -C style command line arguments out of a separate file.  Right now I have 80k worth of individual filenames which is unfeasible to pack in a command line, so deployment requires copying (or linking) those files into a separate directory.  Ideally I'd build a separate file out of these filenames and point adt to it.

Translate
Participant
Feb 21, 2013 7:41 AM UTC

How do i include files that would be accessed by the main swf file in the apk at runtime. Say i have a folder that contains images,xml,audio,video files and other xml files and the main swf needs this file at runtime, what command should i use to compile the apk. I have tried just including the files in the apk using

adt -package -target apk -storetype pkcs12 -keystore MyCert.p12 bin/Story.apk quiz-app.xml story.swf story_content

But it does not work.

Translate
Participant
Jun 10, 2012 3:41 PM UTC

There's an error in the docs. Where it says "-C dir" above, it should really say "-C dir files_and_dirs".

Translate
Participating Frequently
Feb 28, 2012 8:22 PM UTC

Every time I try to build an ANE into a Flash CS5.5 document and then build with ADT, I get the following error:

no such file /Users/michael/Documents/development/speech/–extdir

Since the path is correct and the ANE file is in the specified directory (and this seems to happen every time) I can only assume that the error has nothing to do with that message. Has anyone else encountered this problem? Thanks.

Translate
Adobe Employee
Feb 29, 2012 5:06 AM UTC

What is the full command line that you are using when you invoke ADT? Judging from the error message, it looks like you may be missing a space between a directory and the '-extdir' option. The command line parser therefore is treating them as one unit.

Hope that helps,

Frank

Flash Runtime Engineering

Translate
Participating Frequently
Feb 29, 2012 5:45 PM UTC

I think I have the syntax written correctly...

adt -package -target apk -storetype pkcs12 -keystore ../proto_cert.p12 SpeechMobile.apk SpeechMobile-app.xml SpeechMobile.swf -extdir extensionDir

Do you see anything that looks off?

Thanks!

P.S.  I did eventually get past this.  But the only thing I did differently was disconnecting/reconnecting my phone to the USB cable.  Nothing else changed except the passage of time.  I even used the up-arrow key in lieu of retyping the long ADT command.  Even if there was an issue with the device's USB connection, I wouldn't think it would generate the above error... 

Translate