• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

AIR 3.5 still doesnt have 96x96px xhdpi icon support on android.

New Here ,
Oct 25, 2012 Oct 25, 2012

Copy link to clipboard

Copied

AIR 3.5 still doesnt have 96x96px xhdpi icon support on android.

Nexus7's use the larger icons.

TOPICS
Development

Views

8.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , May 30, 2013 May 30, 2013

This is a known issue and is planned to fixed in next release of Flash Professional. For the time being, could you please package your application through command line using adt (http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d128cdca935b-8000.html). Please let us know how it goes.

Thanks

-Nimit

Votes

Translate

Translate
Contributor ,
Oct 29, 2013 Oct 29, 2013

Copy link to clipboard

Copied

This seems to work for Flash as well.  Get app ready for packaging, then last step edit the manifest and set it as read-only.  At first Flash failed with 'missing icon'.  So make sure in the publish settings that you add the 96 and 144 icon.

When I set my apk to a zip, I see all my icons in the assets folder as well as the icon in the drawable-xxhdpi and drawable-xhdpi. 

Great workaround, just need to test the app on high res device to confirm. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Oct 29, 2013 Oct 29, 2013

Copy link to clipboard

Copied

Tested and seems to work.  Added a step by step to the bug report.

https://bugbase.adobe.com/index.cfm?event=bug&id=3588686

Good find Filippo!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 29, 2013 Oct 29, 2013

Copy link to clipboard

Copied

Are you sure that you have to add the icons to the General settings? You don’t have to add any of the other icons listed in the app descriptor.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Oct 29, 2013 Oct 29, 2013

Copy link to clipboard

Copied

Not positive but when I went to package, it gave an error for missing icons and wouldn't go through with the publish.  Adding them in to general include files seemed to resolve it but maybe it was something else I did to get that error.  Anyway, at least there is a pretty workable solution here. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Oct 30, 2013 Oct 30, 2013

Copy link to clipboard

Copied

It seems that I have to or I get an error.  Maybe the other icons aren't required to be added since Flash does it automatically since you add them in a different part of the UI.  Were you able to get it working without manually including those files?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 01, 2013 Nov 01, 2013

Copy link to clipboard

Copied

I just got a flash update and dont see any new icons.  Any change log anywhere?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 01, 2013 Nov 01, 2013

Copy link to clipboard

Copied

Do you mean a Flash Pro update? If so, when was that, and how did you find out about it?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 01, 2013 Nov 01, 2013

Copy link to clipboard

Copied

Yup, Flash pro update.  Came through the CC manager app.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 01, 2013 Nov 01, 2013

Copy link to clipboard

Copied

Good to hear! I had AE and PR updates earlier, so I had already asked the Flash team if that meant the Flash Pro update would go out.

I’m already running a new version, and so didn’t get the CC update notice.

There are a few nice things to tell you about, but I’ll wait until I see any sort of post I can forward you to! As for the icons, this version won’t let you select those iOS 7 icons, or the xhdpi Android icon, but if you add them to your app descriptor file they won’t get deleted. You can publish from Flash Pro and not the timeline again.

One thing to note, support for the Android 96x96 icon was not in AIR 3.5 or 3.6. Not even sure if it was in 3.7. It is in 3.8, and you can add that size in Flash Pro. The xhdpi one requires a recent AIR 3.9, and even then you don’t get to add it in Flash Pro, just mention it in the app descriptor file.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 01, 2013 Nov 01, 2013

Copy link to clipboard

Copied

Did you confirm the above about adding them in as manually included files?  I seem to have had to on the old version but hacvent tried on the new version.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 01, 2013 Nov 01, 2013

Copy link to clipboard

Copied

I don’t add icons, only splash screens, xml, swf, and ANEs appear in the list in General. Of course, I have folders of sounds and other external media in some apps, but none of them list the icons.

Because I’m umping between Android and iOS builds a lot, I have this list of XML (hopefully it will come out in the forum):

I then copy and paste the set of icons for iOS or Android, based on what build I’m doing. From then on, until I change with one I’m building for, I don’t have to touch the XML.

One thing to note, Flash will still clear out the other platform’s icons. So, if you have been building for iOS for a while and then change to Android, the iOS icons will be wiped out. You would want to paste in the Android icons after having visited the publishing settings. Otherwise your new Android icons will get wiped out, as if they were iOS ones.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 01, 2013 Nov 01, 2013

Copy link to clipboard

Copied

The XML didn't come out. Here's what it looks like:

http://xfiles.funnygarbage.com/~colinholgate/files/iconsets.txt

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 01, 2013 Nov 01, 2013

Copy link to clipboard

Copied

Just tried to compile but Flash stripped the icons for 96 and 144 that I manually added to the app xml.  Unless I set the XML as read-only before publish, it is still stripping them.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 01, 2013 Nov 01, 2013

Copy link to clipboard

Copied

What you say will happen for AIR 3.5. Have you tried with AIR 3.9?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 01, 2013 Nov 01, 2013

Copy link to clipboard

Copied

Using AIR 3.9.0.1050.  Is it Flash or air stripping?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 05, 2013 Nov 05, 2013

Copy link to clipboard

Copied

LATEST

Hi guys, this works for BOTH Android and iOS, lets put some order:

- The missing icons have to be added to the xml descriptor.

- The descriptor has to be kept read-only so that flash will not mess with it.

- The missing icons ONLY, not the other icons, have to be added to the included files one by one. Not a folder.

- Do not include also the icons that flash can manage, or it will trigger a conflict and refuse to publish.

HINT

Keep 2 separate copies of the manifest, one for Android and one for iOS, and just copy/paste them in the descriptor file when you need them (anyway, switching between iOS and Android in the AIR publish panel, will ERASE some data from the other platform (you have to manually re-enter icons and app id everytime you switch between the 2 publish methods, quite a stupid behavior from a 500 euros piece of software, this leads to errors quite often). But if you just copy/paste the right manifest, then put it read-only again, Flash will not mess with it and you can finally realiably have some standard steps to follow.

Extra icons:

iOS:

    <image120x120>_icons/ios/120-iOS.png</image120x120>

    <image76x76>_icons/ios/76-iOS.png</image76x76>

    <image152x152>_icons/ios/152-iOS.png</image152x152>

Android:

    <image96x96>_icons/android/96x96.png</image96x96>

    <image144x144>_icons/android/144x144.png</image144x144>

These files only have to be amnually added to include list.

If, like me, you export for both platforms, it will be convenient just to keep all 5 of them added.

Hope this helped.

F

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines