Skip navigation
JakeeJ
Currently Being Moderated

ADT packaging fails

May 25, 2011 11:13 AM

I have a question for EDK usage.

I'm trying to test helloworldExtensionClient to test EDK.

I create swf file, HelloWorldExtensionClient.swf, with flash professional using external library options as suggested.

It, however, keeps failing for airn packaging like below,

 

 

#adt -package -storetype pkcs12 -keystore ./phonyEdkAneCert.p12 -storepass phony -tsa none -target airn ./HelloWorldExtensionClient.airn ./HelloWorldExtensionClient-app.xml  ./HelloWorldExtensionClient.swf icons  -extdir C:\extensions


.\HelloWorldExtensionClient-app.xml(149): error 105: application.extensions.extensionID contains an invalid value

 

#dir C:\extensions

05/24/2011  05:41 PM             6,123 tv.adobe.extension.example.HelloWorld.ane

05/24/2011  05:41 PM             6,123 tv.adobe.extension.example.HelloWorld.swc

Around line 149 of xml file shows this

 

    <extensions>
       <extensionID>
           tv.adobe.extension.example.HelloWorld
       </extensionID>
    </extensions>

 

Could you let me know what the reason might be for this failure?  Is there anything I can try to figure out the problem?

 
Replies
  • Currently Being Moderated
    May 25, 2011 11:55 AM   in reply to JakeeJ

    Is this extension id exactly same as that of whats mentioned in extension.xml used for creating ane??

     

    Sent from my Android phone.

     
    |
    Mark as:
  • Currently Being Moderated
    May 25, 2011 7:17 PM   in reply to JakeeJ

    Could not tell what is wrong.

    I would change it to :

    <extensionID>tv.adobe.extension.example.HelloWorld</extensionID>

     

    to make sure there is no hidden chars, etc. somewhere.

     

    -ted

     
    |
    Mark as:
  • Currently Being Moderated
    May 25, 2011 7:20 PM   in reply to JakeeJ

    I assume you generate the self signed cert yourself.

    Install and trust the cert in your machine. Then run the adt command again. The problem should be gone.

     

    -ted

     
    |
    Mark as:
  • Currently Being Moderated
    May 26, 2011 10:01 AM   in reply to JakeeJ

    You can use adt to generate a self signed certificate.

     

    Find the adt tool ( I am not sure what tools you are using. But you should have the AIR SDK which has the sdk tool.

    Or you can download the sdk.

     

    Execute:

    adt -help

    You can see the line:

    adt -certificate -cn

     

    You can execute:

    adt -certificate -cn youName 2048-RSA myCertificate.pfx  yourPassword

    This should generate a certificate myCertificate.pfx  for you.

     

    -ted

     
    |
    Mark as:
  • Currently Being Moderated
    May 26, 2011 11:18 AM   in reply to JakeeJ

    Yes. You already had one. Find that certificate you used to sign the ANE file, import it to your machine, make it trusted.

     

    The problem is the certifcate that signs the ANE file is not trusted in your machine.

     

    Depends on the OS you have. I think you can just double click on the certificate file and Windows will launch a dialog and ask you if you want to install it.

     

    -ted

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points