Search code examples
androidflashsdkair

Android app with flash: "application descriptor file cannot be parsed"


I'm new to app-programming and I'm creating an app with flash CS5.5. While the document is unsaved, I can test the app (on AIR debug launcher). When I try to test it on a mobile, it makes me save it (my version is in spanish, and 'unsaved' contains an accent), and, when I do, it's impossible to test the app, also on debug launcher. ("application descriptor file cannot be parsed"). The description file is create by flash, so it must be right, I guess. It've tried reinstalling java, and it outputs the same message. Thanks in advance.

I think the problem might be on the android SDK, which I can't link to flash on the deployment tab of my "Air settings", because the space for doing that isn't simply there.


Solution

  • There is Included files in General tab of AIR for android settings. There are yourproject-app.xml there. It should be found in your project directory. Problem is within it.

    Try to create new blank project and compare app.xml's, try publishing blank project into android device.

    Make shure AIR sdk version is correct.

    If nothing helps post content of yourproject-app.xml here, and ill try to help

    EDIT: As i said make shure AIR sdk version is correct. If you trully have 13.0 version of sdk in your flash, then this line:

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

    Should be 4.0 insted of 13.0

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

    try it