I am trying to update the ic_launcher.png
file for my app. For some reason I still get this very small old version of the icon in the "App setting" on my phone:
Also when I see the uninstall screen the icon is not right:
But after hit 'uninstall' the confirmation screen's icon is good.
Also the launcher icon looks fine on the Home screen when the app is installed.
The issue is generally caused by a file association error with . LNK files (Windows shortcuts) or . EXE files (Windows executable programs). If your icons changed immediately after installing a new program, you can try uninstalling the program and see if this fixes the problem.
First, click the "Start" button and then click "Computer". Now click "Organize" and then click "Folder and Search Options". Next, please click "View", uncheck "Hide extensions for known file types" and "Hide protected operating system files (Recommended)" and check "Show hidden files, folders, and drives".
You need to have the images for all kind of resolutions. And place those images in appropriate folders
in Folder res -> mipmap folders
And call this icon in Manifest file as
android:icon="@mipmap/ic_launcher"
Make sure that you have all these above resolution images in appropriate folders. If you still face the problem, try uninstalling the existing apk from device. Clean and rebuild the project and rerun it on your device.
Create mipmap folder in res directory right click on res folder => copy path and goto that directory and create this folder see in this image
After create this folder you can see this directory in android studio.
add this size of icon in your folder
LDPI - 36 x 36
MDPI - 48 x 48
HDPI - 72 x 72
XHDPI - 96 x 96
XXHDPI - 144 x 144
XXXHDPI - 192 x 192.
then add this icon in android manifest file
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".ActivityTwo">
</activity>
</application>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With