1 Reply Latest reply on Jun 21, 2017 11:32 PM by yuvalz45973909

    Default AIR icon on Android app (bug)

    Felix af Ekenstam

      I have a strange problem when exporting my AIR app for Android. No matter what icon is link to in my application XML it displays the default AIR logo as the app icon on my device and when uploading the final apk to google play.

       

      The icons are packaged and if I remove them from the package the compiler complains (so they are actually used)

       

      I am using Flash builder 4.7 on OS X 10.10.5 AIR SDK 16

       

      Is anyone else having problems with this?

       

       

      here is my XML:

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

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

       

        <!-- A universally unique application identifier. Must be unique across all AIR applications.

        Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->

        <id>XXXXXXXX</id>

       

        <!-- Used as the filename for the application. Required. -->

        <filename>XXXX</filename>

       

        <!-- The name that is displayed in the AIR application installer.

        May have multiple values for each language. See samples or xsd schema file. Optional. -->

        <name>XXXX</name>

       

        <!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.

        Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.

        An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . -->

       

        <versionNumber>1.5.0</versionNumber>

       

        <!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->

        <versionLabel>Release Update 5</versionLabel>

       

          <supportedLanguages>sv</supportedLanguages>

       

        <initialWindow>

        <!-- The main SWF or HTML file of the application. Required. -->

        <!-- Note: In Flash Builder, the SWF reference is set automatically. -->

        <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>

       

              <renderMode>gpu</renderMode>

        <aspectRatio>landscape</aspectRatio>

        <autoOrients>false</autoOrients>

              <fullScreen>true</fullScreen>

              <visible>true</visible>

          </initialWindow>

       

        <!-- The icon the system uses for the application. For at least one resolution,

        specify the path to a PNG file included in the AIR package. Optional. -->

        <icon>

        <image57x57>assets/images/icons/Icon-57.png</image57x57>

        <image76x76>assets/images/icons/Icon-76.png</image76x76>

        <image72x72>assets/images/icons/Icon-72.png</image72x72>

        <image120x120>assets/images/icons/Icon-120.png</image120x120>

        <image114x114>assets/images/icons/Icon-114.png</image114x114>

        <image152x152>assets/images/icons/Icon-152.png</image152x152>

        <image512x512>assets/images/icons/Icon-512.png</image512x512>

        </icon>

      <android>

           <containsVideo>true</containsVideo>

        <manifestAdditions>

        <![CDATA[

        <manifest android:installLocation="auto">

                

        <application>

        <activity android:name="com.freshplanet.inapppurchase.activities.BillingActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"></activity>

        </application>

       

              </manifest>

        <manifest android:installLocation="auto">

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

        <uses-permission android:name="com.android.vending.BILLING" />

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

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

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

        <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>

        <application android:enabled="true" android:debuggable="false">

        <activity android:name="com.freshplanet.inapppurchase.activities.BillingActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"></activity>

        <activity android:excludeFromRecents="false">

        <intent-filter>

        <action android:name="android.intent.action.MAIN"/>

        <category android:name="android.intent.category.LAUNCHER"/>

        </intent-filter>

        </activity>

        <activity

                              android:name=".Android_mobile_infoActivity"

                              android:label="@string/app_name"

                              android:screenOrientation="landscape">

                          </activity>

        </application>

                  </manifest>

        ]]>

              </manifestAdditions>

       

       

        </android>

        <extensions>

              <extensionID>com.freshplanet.AirAlert</extensionID>

          <extensionID>com.freshplanet.AirInAppPurchase</extensionID>

          </extensions>

      </application>

       

       

      As a result the app got denied by Google since it infringes Adobes intellectual property (the logo!)..