Adobe Flash Compiler Error -XML Duh Moment

So, like many things in Flash that make me want to bang my head against the wall. Here is another lovely for you.

Being a Noob I added _ underscores to my file name not thinking like a pro that this would somehow conflict with the XML file upon my attempt to test and/or publish my App.

To save you (and myself when I inevitably do this again) from the headache – because like me you might want to bang your head against the wall – here is some handy info I found on the web. It was reblogged by a chap in a similar situation as myself and so I will now reblog his reblog of a blog.

Enjoy…

Flex compiler – application descriptor: invalid application identifier

Whenever your Flex compiler prompts
application descriptor: invalid application identifier“,
you might check your application description XML file. Your application ID might contain underscores (in my case) or other invalid characters. Since I found a hint to the solution only at koali.com.au, I think it’s a good idea to reblog it.

Quote from Adobe livedocs:

id – An identifier string unique to the application, known as the application ID. The attribute value is restricted to the following characters:

  • 0-9
  • a-z
  • A-Z
  • . (dot)
  • – (hyphen)

The value must contain between 1 to 212 characters. This element is required.

The id string typically uses a dot-separated hierarchy, in alignment with a reversed DNS domain address, a Java package or class name, or an OS X Universal Type Identifier. The DNS-like form is not enforced, and AIR does not create any association between the name and actual DNS domains.

More informations about the descriptor file:
http://livedocs.adobe.com/flex/3/html/help.html?content=dg_part_4_1.html

 

The blog address is here: http://blog.derraab.com/2011/06/08/flex-compiler-application-descriptor-invalid-application-identifier/

Thank you sir for saving me from my own ignorance. May you help many other poor souls as well.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s