Strange App Icon behaviour - android

I have replaced the standard android studio app icon (ic_launcher) with my own(one for each dimension in the mipmap folders) and deleted the ic_launcher round icons since i won't be using round icons on my app. The problem is that although the icons show up correctly in the res->mipmap->ic_launcher folder, when i install the app on my phone the app's icon is the default one and not the one i chose. Also, if you go into tje phone's app info, the app's icon shows up correctly. I have no clue on why this is happening. Any idea?

Go to manifest and look for roundicon and dont forget to change there.

Go to manifest and replace default icon name with yours here:
android:icon="#mipmap/ic_launcher"
android:roundIcon="#mipmap/ic_launcher_round"

Related

How to add app icon properly in android react-native

Hi I added icons to android/app/src/main/res/..., the app icon showing perfectly in home screen like first image, but when minimize the app it showing default app icon like second image. how can change that icon also.
I cleaned build folder, gradlew and reinstalled the app but no changes.
Please help me on this
put this on AndroidManifest.xml and try
<application
...
android:icon="#drawable/ic_launcher"
...
</application>
also hope you update the icons properly. please refer this
https://code.tutsplus.com/tutorials/how-to-update-the-launcher-icon-for-your-android-app--cms-30624
I'm not sure if this comes after you setup androidManifest.xml but you will need icons in these two folders:
android/app/src/main/res/mipmap.
ios//Images.xcassets/AppIcon.appiconset
I've used the resize-reactnative-launcher-icon shell scrip to generate my icons. It takes a png image and creates the 25 variations you need by size and resolution.
bash resize.sh my-cool-new-app-logo.png

The problem is "ic_launcher" icon overwritten from aar 'cause the icon name is same

App icon starts to be exposed with another icon what I don’t want after I include aar.
And I found the reason why it's overwrtten 'cause both have a same name.
That's why if I change the name of app icon what I want, it works.
How can I choose a specific icon for the app through manifest?
<application
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
...
have u tried changing the name of the icon that you want in the manifest, there will be no problem. also change it in the manifest file
If you want to change your app icon name, you can do it without facing any problem and after changing the name of app icon you need to change also your icon name from your manifest too.

App launch icon is not shown in proper way on Android 8.0 Oreo

The launch icon is not display well on devices with OS 8.0/8.1 Oreo.
I make everything like here Launcher Icon is not Shown in Oreo 8.0/8.1, but the result is that:
Can someone help with that?
After nougat there are two layers for an icon one is foreground and one is background What you need to do is Right click on the app icon then go to new -> image asset -> choose launcher icons -> then there you can choose background and foreground layer then finish the process and in manifest as follows -
android:icon="#mipmap/ic_launcher"
android:roundIcon="#mipmap/ic_launcher_round"
you will find both the icons in mipmap folder in your resources
May be the resolution of the icon is not proper. You can generate icon with proper resolution and other properties try this. Here you can choose and edit app icons as per android icon specifications.
The solution was just to upload a svg file for the foreground layer and put some color for the background layer.
Now the launch icon is shown correct.
Hope this can help to someone else ;)

Android Studio app icon

(I've updated the post)
Here's how I have my proyect:
Manifest:
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:roundIcon="#mipmap/ic_launcher_round"
android:label="#string/app_name"
Mipmap:
Created by New > Image Asset
I selected Launcher Icons (Adaptative and Legacy)
Icons
Also, when I open any of them I see the icon I want:
Icon
Now, the launcher icon works just fine:
Launcher Icon
The problem I'm having is that it does not want to update the icon that is displayed when I'm going to select another app.
Problem
you have to update both property of application tag in manifest file.
android:icon="#mipmap/ic_launcher" <-- Change this one
android:roundIcon="#mipmap/ic_launcher_round" //<-- and this one
or you can remove
android:roundIcon="#mipmap/ic_launcher_round" //<-- and this one
ensure you have place all mipmap/drawable in correct place and for all dpi.
reach me if you have still problems.
Go to your app folder and go under drawable. Right Click -> New -> Image Asset.
From there you can select what kind of image you want for the different options given.
I think it is a common cache issue. Sometimes when you run the app from Android studio or in debug mode you will have this droid icon.
When you stop and don't reinstall the app, droid icon is still there for futures launches... You have to clear the cache to get back your icon.
I search a correct answer for days because this is very stange and still not fixed...
Hope this will help !

Android application's ic_launcher is not working

i have a application can't show ic_launcher. before asking question,i do like those:
1. In my AndroidManifest.xml like this
<application android:icon="#drawable/ic_launcher" ...>
...
</application>
there's a pic called ic_launcher in folder drawable.
but in launcher application's icon always can't show ic_launcher.
my android device can show xxhdpi source. so i remove ic_launcher to folder xxhdpi, it can work fine. i want to know why.
please help,thank you .
First Clean and build again your project. If you still facing same issue and if you are using Eclipse IDE then press "ctrl+space" after you typed android:icon="#drawable/ . All available image resource should come as a list. Then you choose appropriate icon for your application and re-run your application.

Categories

Resources