Skip to main content
This topic has been closed for replies.

4 replies

May 28, 2013

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.

Participant
February 21, 2013

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.

Participant
June 10, 2012

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

Participating Frequently
February 28, 2012

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.

Adobe Employee
February 29, 2012

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

Participating Frequently
February 29, 2012

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...