Error creating AIR file: app.xml error 306: Descriptor must support one of the following profiles

Error creating AIR file: MyApp-app.xml error 306: Descriptor must support one of the following profiles: desktop, mobileDevice, extendedMobileDevice, tv.

Cause
The app descriptor file does not have the profile defined for the application you’re creating. In this case the cause is the app descriptor is set to extendedDesktop.

<supportedProfiles>extendedDesktop</supportedProfiles>

Solution
Open the app descriptor file and add the correct profile. For our case,

<supportedProfiles>extendedDesktop desktop</supportedProfiles>

UPDATE: As mentioned in the comments you may also need to publish your application in native desktop installer. See here:

http://help.adobe.com/en_US/air/build/WS789ea67d3e73a8b22388411123785d839c-8000.html

About Judah

Please note in the comments if this has helped you or not.
This entry was posted in AIR, Compiler. Bookmark the permalink.

4 Responses to Error creating AIR file: app.xml error 306: Descriptor must support one of the following profiles

  1. Aduen says:

    although I have set the profile like this, it sure compiles a package but
    extendedDesktop desktop

    NativeProcess.isSupported returns false…

    bugging bullshit arhhhh

  2. Jon Maz says:

    Found the solution.

    You have to publish your application in native desktop installer.

    To do it, i let you read this thread :

    http://help.adobe.com/en_US/air/build/WS789ea67d3e73a8b22388411123785d839c-8000.html

  3. YopSolo says:

    “You have to publish your application in native desktop installer.”

    Thx a lot !

Leave a Reply

Your email address will not be published. Required fields are marked *

Highlight your code before posting code:

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="">