Skip navigation
jarjis222
Currently Being Moderated

Wrong application element value in the AIR launcher code

Jul 19, 2011 12:02 PM

AIR launcher is generating wrong application element value.

 

<application xmlns="http://ns.adobe.com/air/application/2.0">

  <id>Test</id>

  <filename>Test</filename>

  <name>Test</name>

  <version>v1</version>

  <initialWindow>

    <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>

    <title>Test</title>

    <systemChrome>standard</systemChrome>

    <transparent>true</transparent>

    <minimizable>true</minimizable>

    <maximizable>true</maximizable>

    <resizable>true</resizable>

    <width>700</width>

    <height>500</height>

  </initialWindow>

  <supportedProfiles>extendedDesktop desktop</supportedProfiles>

  <icon>

    <image16x16>assets/launchpad_default_icon16.png</image16x16>

    <image32x32>assets/launchpad_default_icon32.png</image32x32>

    <image48x48>assets/launchpad_default_icon48.png</image48x48>

    <image128x128>assets/launchpad_default_icon128.png</image128x128>

  </icon>

</application>

 

 

When I change it to 2.6 or 2.7  and run i get the following error.

 

 

Process terminated unexpectedly.

 

invalid application descriptor: Unknown namespace: http://ns.adobe.com/air/application/2.7

 

 

Launch command details:  "/Applications/Adobe Flash Builder 4.5/sdks/4.5.1/bin/adl" -runtime "/Applications/Adobe Flash Builder 4.5/sdks/4.5.1/runtimes/air/mac" /Users/jarjis/Downloads/testing/Test/bin-debug/Test-app.xml /Users/jarjis/Downloads/testing/Test/bin-debug

 

 

 

What am i doing wrong here ??


Thanks

 
Replies
  • Currently Being Moderated
    Jul 20, 2011 1:56 AM   in reply to jarjis222

    Do you have air 2.7 sdk installed? you could chhange that line to match your current sdk version.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 27, 2011 9:59 AM   in reply to jarjis222

    Same problem as you can see at this screenshot:

     

    http://www.flickr.com/photos/cirkef/6286483898/

     

    But I went little further. I created an air project via Launchpad. I took this error. Then I created a new flex project with FlashBuilder and I copied my first (created by launchpad) project's .mxml into my new project and I test it. VOILA !!! It worked. But i think there some problems, there no back forward button at HTML Sample and Myy App Menu is empty maybe something else. I tested Drag & Drop images its working. So here is ss:

     

    http://www.flickr.com/photos/cirkef/6286103247

     

    Can Somebody test this way ? And if this is a solution we can use. I'm not experienced with as3, air, flex and I think maybe this way will problematic for real world applications. Just can somebody confirm?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (1)

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