Skip to main content
Known Participant
August 19, 2013
Question

Air 3.8 - Installation parse error

  • August 19, 2013
  • 1 reply
  • 1577 views

Hi,

I'm building an Android app with Adobe Air 3.8.

Some users with newer Android devices (e.g. Nexus 4) told me that they got a parse error by trying to install my app.

"Parse error. There was a problem parsing the package"

Is something wrong with the app.xml?

Android part of app.xml:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>

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

<id>com.example.android</id>

  <versionNumber>1.0.0</versionNumber>

  <filename>Example</filename>

  <description/>

  <name>Example</name>

  <copyright/>

  <initialWindow>

    <content>example.swf</content>

    <systemChrome>standard</systemChrome>

    <transparent>false</transparent>

    <visible>true</visible>

    <fullScreen>false</fullScreen>

    <renderMode>direct</renderMode>

    <autoOrients>true</autoOrients>

    <maximizable>true</maximizable>

    <minimizable>true</minimizable>

    <resizable>true</resizable>

  </initialWindow>

  <icon>

    <image36x36>AppIconsForPublishAndroid/36.png</image36x36>

    <image48x48>AppIconsForPublishAndroid/48.png</image48x48>

    <image72x72>AppIconsForPublishAndroid/72.png</image72x72>

  </icon>

  <customUpdateUI>false</customUpdateUI>

  <allowBrowserInvocation>true</allowBrowserInvocation>

  <android>

   <manifestAdditions>

      <![CDATA[

        <manifest android:installLocation="auto">

<uses-permission android:name="android.permission.INTERNET"/>

<uses-sdk android:minSdkVersion="8"/>

<supports-screens android:largeScreens="true" android:xlargeScreens="true"/>

            <application android:hardwareAccelerated="true">

     </application>

        </manifest>

    ]]>

    </manifestAdditions>

  </android>

  <versionLabel>1.0.0</versionLabel>

  <supportedLanguages>en</supportedLanguages>

</application>

This topic has been closed for replies.

1 reply

Colin Holgate
Inspiring
August 19, 2013

This part seems wrong:

though you would think either would work.

blogtomAuthor
Known Participant
August 19, 2013

Which part? Something is missing in your post!

Also I published it with Air 3.6 instead of Air 3.8 - and than it's working.

How is that possible?

Colin Holgate
Inspiring
August 19, 2013

In the manifest part you have an open application tag that would normally close on the same line. Look at the uses-sdk line as an example of that. For the application one you have a close of that tag on another line, which would make that node seem to have blank content.