In the manifest file, under the tag, there will be a similar line:
android:icon="drawable_resource_path"
Place the launcher icon you want in drawable folder and write its resource path.
We can replace the code in the AndroidManifest file in the application tag
android:icon="@drawable/logo"
Here is another solution which I feel is more sensible for those working on Android Studio:
That is it! You have a new logo for you app now.
Go to your project folder\app\src\main\res\mipmap-mdpi\ic_launcher.png
You will see 5 mipmap folders. Replace the icon inside of the each mipmap folder, with the icon you want.
I created my icons using this tool:
After I downloaded these (they were already pre named to ic_launcher, very useful!) I found the
mipmap ic_launcher folder under the res folder
and I replaced the pre icons with the ones I created. Reinstall your app, and you'll see your new icon!
Try this process, this may help you.
***** NB: Icon type should be Launcher Icons (Adaptive and Legacy) *****
To quickly create a new set of icons and change the launcher icon in Android Studio, you can:
Use this tool: https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html to upload your preferred image or icon (your source file). The tool then automatically creates a set of icons in all the different resolutions for the ic_launcher.png.
Download the zip-file created by the tool, extract everything (which will create a folder structure for all the different resolutions) and then replace all the icons inside your project res folder: <AndroidStudioProjectPath>\app\src\main\res
Click app/manifests/AndroidManifest.xml
You see android:icon="@mipmap/your image name"
Also change android:roundicon="@mipmap/your image name"
Example:
android:icon="@mipmap/image"
that's all
Go to AndroidManifest.xml
In the tag, look for android:icon tag.
Copy and paste your icon in drawable folder(available in res folder of your project).
Set the value of android:icon tag as
android:icon="@drawable/youriconname"
Voila! you are done. Save the changes and test.
go to AndroidManifest.xml and change the android:icon="@mipmap/ic_launcher" to android:icon="@mipmap/(your image name)" suppose you have a image named telugu and you want it to be set as your app icon then change android:icon="@mipmap/telugu" and you have to copy and paste your image into mipmap folder thats it its so simple as i said
Go to:
res > drawable > right click > show in folder > add desired logo
Then go to android manifest, edit ICON tag under application tag, use "@drawable/nameOfImage"
All the download process is too long, just navigate to your project preview and select project view, right click on app folder, then click on new, then create a new image asset. Kindly choose the file path and click next and finish.
important: Reinstall your app.
Here are my steps for the task:
Source: Stackoverflow.com