Solution for “AIR file is damaged” Error report during installation

I have been trying to create a small Air Application in Flex and created the “.air” file successfully, but while installing the application caused some error like ” The application could not be installed because the AIR file is damaged. Try obtaining a new AIR file from the application author “. After some tiresome of searching the internet eventually I got a solution.

Steps to Resolve:

1.  Open the .xml file which is automatically created while creating a new project eg: “myproject-app.xml” – usually will be in the name of yourproject (here myproject is the name your project).

2.  Change the first line of the file from

<application xmlns=”http://ns.adobe.com/air/application/1.1″&gt;

to

<application xmlns=”http://ns.adobe.com/air/application/1.5″&gt;

3.  Clean the project, compile and export again.

4.  If the problem still persists reinstall the Adobe Air installed in your system and execute the step 3.

Advertisements

About maheshkumar87
I am Flex and java developer and about me personally...very Curious, Artistic and a kind of nerdy or Geek.....!

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

%d bloggers like this: