Skip to main content
May 31, 2011
Question

Application Descriptor cannot be parsed?

  • May 31, 2011
  • 2 replies
  • 13141 views

Been working on an iPad app in CS5.5 for a couple weeks and started getting this error today when trying to test. Tried to delete the file, and the new one gives the same result. Pasted the xml into a validator and it validates fine...

5.5 is really starting to feel like a beta. So far, for me, it's been nothing but a PITA and is wasting so much of my time.

This topic has been closed for replies.

2 replies

Participant
February 22, 2013

I have had this issue intermittently - really painful!!

Make sure you're working from you local drive. I've moved all my working files from our network to my C:/ drive and this resolved the issue.

Colin Holgate
Inspiring
May 31, 2011

Are you doing work with Android too? It could be that the descriptor file has some Android specific things in it. Do you get any sort of message about what couldn't be parsed?

May 31, 2011

No, it doesn't say anything more than 'application descriptor file cannot be parsed'.

I wasn't trying for Android, but if I select Air for Android, the settings panel opens. Any other Air choice (2.5, 2.6, or Air for iOS) produces the error.

I tried deleting the descriptor xml file and it does no good...

I have this suspicion that 5.6 is around the corner, as 5.5 is buggy as hell.

relaxatraja
Inspiring
June 1, 2011

I realize it's working for some, I know. I'm just frustrated - and have had quite a lot of issues with 5.5 so far including this, as well as all kinds of file corruption.

Anyway - yes, I'm on 64 bit Win 7. Which may be the issue, but I need it for Premiere. I don't have access to a mac for publishing, but I will try the command line tomorrow and see if that gives me any more info.

I just uninstalled and reinstalled Flash and get the same error. I cannot publish for Any AIR - except Android. Choosing 2.5, 2.6, or iOS produces the parse error when I try and open the settings dialog.

The thing is that this worked not 4 days ago and I wasn't on my machine since... so it's just really annoying when I come back to the project and it doesn't work.


Create a new xml file with the name of your appname-app.xml and paste the contents below and change your relevant things:

<?xml version="1.0" encoding="utf-8" ?>
<application xmlns="http://ns.adobe.com/air/application/2.6">
    <id>in.rithesh.iPadTestApp.AccelerometerSample</id>
    <versionNumber>1.0.6</versionNumber>
    <filename>AccelerometerSample</filename>
    <name><text xml:lang="en">AccelerometerSample</text></name>
    <description><text xml:lang="en">AccelerometerSample</text></description>
    <copyright>ADT Helper by Pixelthis</copyright>
    <initialWindow>
        <title>AccelerometerSample</title>
        <content>AccelerometerSample.swf</content>
        <autoOrients>true</autoOrients>
        <renderMode>auto</renderMode>
        <fullScreen>true</fullScreen> 
        <aspectRatio>landscape</aspectRatio> 
    </initialWindow>
    <supportedProfiles>mobileDevice desktop</supportedProfiles>
    <iPhone>
        <InfoAdditions><![CDATA[ 
            <key>UIStatusBarStyle</key> 
            <string>UIStatusBarStyleBlackOpaque</string> 
            <key>UIRequiresPersistentWiFi</key> 
            <false/>
            <key>UIApplicationExitsOnSuspend</key>
            <true/>
            <key>UIPrerenderedIcon</key>
            <false/>
            <key>UIDeviceFamily</key>
            <array>
                <string>2</string>
            </array>
        ]]></InfoAdditions>
        <requestedDisplayResolution>standard</requestedDisplayResolution>
    </iPhone>
</application>

and publish it again.