I upload an app in play store.Now i got a comment that it shows default android icon in some devices (galaxy s4,nexus 5 )instead of app icon.I placed app icon in drawable-ldpi,drawable-mdpi,drawable-hdpi,drawable-xhpdi and drawable-tvdpi. Default android icon is present outside resource folder as ic_launcher-web. While testing it showed the app icon itself in galaxy s4.But when it downloaded from play store it is showing default app icon.What I should do to correct this problem?
Since app icon has very little impact on the system performance, I recommend that you to put a 256*256 icon in the default /res/drawable/ resource folder.
I had the same problem and the issue was with app icon resource.
I had defined an adaptive icon in a mipmap-anydpi-v26 folder. Both for standard and round resources. For other devices I had standard launcher icon in respective mipmap-<density-qualifier>. And in AndroidManifest.xml
android:icon="#mipmap/ic_launcher"
android:roundIcon="#mipmap/ic_launcher_round"
The default icon was displayed on Devices that had lower version of Android than 26 but launcher supported roundIcon. Cause this resource was not existing for this devices. Add ic_launcher_roundresource for all densities solved the problem
You need to put the app icon in drawable-xxhdpi and drawable-xxxhdpi too.
Reference: http://developer.android.com/design/style/iconography.html
Related
I have added a new Image Asset to my build, tested it on virtual and physical devices, then pushed as a Beta to the Play Store. Everything is checking out on my end, but one of my testers is saying that the app icon is not showing up!? He's using a Google Pixel phone running Android 8.0. Does anyone know what could be causing this?
Android Oreo requires few versions of your icon, and you have to create adaptive icon
https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive.html
1. Select app folder from your project
2. Select File → New → Image Asset
3. On "Foreground Layer" choose the path of your image and resize in order to get the proper aspect for the icon
4. On “Background Layer" use the provided background color
5. Click on Finish and mipmap icons are created in different sizes
In your manifest file do the following changes
<application
...
android:icon="#mipmap/ic_launcher"
android:roundIcon="#mipmap/ic_launcher_round"
...>
</application>
Source: How to create adaptive icons for android
The launcher icon of my app is downsized, it's smaller than the other icons. I even tried to copy the launcher icon from my other app and when I put these apps (with the exact same icon) next to each other, one icon is smaller.
Both apps have the same minSdkVersion and targetSdkVersion. It's quite weird, what could possibly be the problem?
I tried reinstall, phone restart and two launchers, the default Moto G launcher and Google's KitKat launcher.
Google launcher uses xxxhdpi drawable directory (192x192) to display app icons.
Plus, make sure you dont have an big padding transparent pixels around the icon shape,
I suggest you to use Image Assets to generate your app launcher icon. it comes with Android Studio and Eclipse.
File -> New -> Image Assets
It was my fault, the icon simply had too much padding, it wasn't downsized. The other app had a v14 version of the icons with less padding and I copied the normal versions not noticing the v14 directory.
Hi i have a problem with my app icon. The icon is displayed correctly on the actionBar of the Emulator but for some reasons it doesn't display normally on my device. Unfortunately I don't have another device models for testing.
Screenshots are attched below
To change the app icon I just changed the drawable on the manifest, is this correct ?
<activity
android:name="--ActivityName--"
android:icon="#drawable/navbarlogo"/>
EDIT:
I tried the app on different android version (Emulator). the result is good but not on the physical phone.
Can it be related to the ROM ? On the phone I have the MIUI ROM.
Checkout the size of your icon image. It should be small in size.
I have an Android app that I am currently developing. I have created icons (.png) and placed them in the /res/drawable-hdpi (and ldpi & mdpi) folders. In my manifest I have
<application android:icon="#+drawable/icon" android:label="#string/app_name">
my icons are all named icon.png.
I have compiled the source and when I run it on the emulator, the icon shows up in the desktop launcher. But when I copy the apk to my actual phone, the desktop launcher shows the default package icon rather than my custom icon. Although, funny enough when I am actually installing the app, the package manager does show the icon. But once it is installed, the icon does not show.
How do I make my application icon show up as the launcher icon?
Skip
remove the "+" in "#+drawable/icon"
I had the same problem, and I never used the "+" in the manifest.
Rebooting&wiping emulator or restarting Eclipse did not work for me.
I simply solved renaming all the icon.png files to something different (e.g. iconq.png).
I just had the same issue. I renamed my icon to launch_icon and restarted Eclipse. Not sure which one did the trick but it worked after that
It's possible to have different icons set for different components (ie Activity and Service). Make sure that you have the icon only defined for the application element, and nothing else. This will guarantee that all components will have a the same icon, the one defined in the application.
For some reason it was the ROM I had on my phone (it was a gingerbread MIUI ROM). I put a new ROM on my phone today and it works fine. Strange.
I had a similar problem. I am running a custom rom (Cyanogen mod 7), and my solution was to simply reboot my device. After that, the icon appeared.
Make sure that the Intent of your Launcher Activity is named MAIN
i.e,
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
Moreover, add the icon to your Drawable folders and then refer it in the application block of Manifest.
<application
android:allowBackup="true"
android:icon="#drawable/icon"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
In my case, I was testing in a Nexus 5X device with the Android Nougat and the icon was correct, but in the emulator on the same android version but with the Pixel Launcher, the default icon were shown.
I saw that in my case I forgot to replace the android:roundIcon property in the manifest to use the new one.
Round Icon Resources
Apps can now define circular launcher icons, which are used on devices that support them. When a launcher requests an app icon, the framework returns either android:icon or android:roundIcon, depending on the device build configuration. Because of this, apps should make sure to define both android:icon and android:roundIcon resources when responding to launcher intents. You can use Image Asset Studio to design round icons.
You should make sure to test your app on devices that support the new
circular icons, to see how your circular app icons look and how they
are displayed. One way to test your resources is to run the Android
emulator and use a Google APIs Emulator System targeting API level 25.
You can also test your icons by installing your app on a Google Pixel
device.
For more information about designing app launcher icons, see the
Material Design guidelines.
https://developer.android.com/about/versions/nougat/android-7.1.html#circular-icons
I want to deploy my application with Android 2.1 features. I placed an application icon in PNG format in the drawable-ldpi,and drawable-hdpi folders. When I installed to the device, it is not showing the application icon on the home screen of the device.
Please help me how to solve this issue?
I ran into a problem like this before.
My app wasn't changing name and icon, even with everything changed in manifest and icons in drawable folders.
It seems like it had some sort of cache, which installed the same old config (although coding was changing).
Restarting the phone solved my problem.