(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 !
Related
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
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"
I created app from phonegap desktop. How can I change its default logo for android and windows.
Screen at build.phonegap.com says
Your application's details are bound to the config.xml file in your application package. To edit these details, change that file and push it back up to us.
you can see brief info about my problem.
http://community.phonegap.com/nitobi/topics/how-can-i-change-logo-of-my-app-it-showing-default-icon
Maybe you can try to build your project and then go to YourApp/platforms/android
and there you can see the AndroidManifest.xml. Inside the file there is a line:
<application android:hardwareAccelerated="true" android:icon="#drawable/icon" android:label="#string/app_name" android:supportsRtl="true">
As you can see the icons are in drawable/icon, so you have to go to res/drawable and you just have to change the icon.png.
Then you have to rebuild your app so the changes take place.
Note: there are different drawable folder inside the res folder, you can change all off them if you want. Some of them are the splash screen.
Let me know if that works :)
I'm developing an app for Honeycomb and got this really quirky problem.
I've changed app icon (ic_launcher) in every drawable folder and make sure it is right in the manifest, but instead Ive got an standard "settings" icon in launcher (in app itself it's right).
I've cleaned the project, searched for every single wrong line, no results.
Help would be appreciated :)
Weird problem
Just change #drawable/appicon with your icon in your Manifest.xml like this:
<application android:icon="#drawable/appicon" android:label="#string/app_name"
android:name="com.droid.MyApplication">
...
</application>
In my case the icon appeared correctly after I rebooted the device. I had followed the above suggestions, though.
Go to AndroidManifest and edit :
<application
android:icon="#mipmap/ic_custom_launcher"
android:roundIcon="#mipmap/ic_custom_launcher">
/* .... */
</application>
It maybe happened, because of didn't uninstall the old app with old launcher icon. So, just try to uninstall your application. And, place the differnet size of icons in both drawable folders.
Give the icon name into your AndroidManifest.xml file <application> tag.
<application android:icon="#drawable/launcher_icon"
android:label="#string/app_name">
And, run your application.
I am developing an app using Eclipse IDE Juno and Android SDK.
How do I change my app's icon?
Go into your AndroidManifest.xml file
Click on the Application Tab
Find the Text Box Labelled "Icon"
Then click the "Browse" button at the end of the text box
Click the Button Labelled: "Create New Icon..."
Create your icon
Click Finish
Click "Yes to All" if you already have the icon set to something
else.
Enjoy using a gui rather then messing with an image editor!
In your AndroidManifest.xml file
<application
android:name="ApplicationClass"
android:icon="#drawable/ic_launcher" <--------
android:label="#string/app_name"
android:theme="#style/AppTheme" >
Icon creation wizard
Select your project
Ctrl+n
Android Icon Set
Look for this on your Manifest.xml android:icon="#drawable/ic_launcher" then change the ic_launcher to the name of your icon which is on your #drawable folder.
You can find an easy guide here
The step are 2:
- Copy the icon in the correct folder/folders
- Change the AndroidManifest.xml
Rob R.'s answer was definitely the way to go. I tried copying the ic_launcher.png files from another project and Eclipse still wouldn't read them. Going through the manifest is much quicker and easier.