How to change the launcher logo of an app in Andro

2020-01-26 12:17发布

I was wondering how to change the launcher icon in Android Studio. I would be very grateful for any advice you can give me.

15条回答
走好不送
2楼-- · 2020-01-26 12:56

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. then reinstall your app.

查看更多
走好不送
3楼-- · 2020-01-26 12:58

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

查看更多
一纸荒年 Trace。
4楼-- · 2020-01-26 12:58

Here are my steps for the task:

  1. Create PNG image file of size 512x512 pixels
  2. In Android Studio, in project view, highlight a mipmap directory
  3. In menu, go to File>New>Image Asset
  4. Click Image Button in Asset type button row
  5. Click on 3 Dot Box at right of Path Box.
  6. Drag image to source asset box
  7. Click Next (Note: Existing launcher files will be overwritten)
  8. Click Finish
查看更多
家丑人穷心不美
5楼-- · 2020-01-26 13:00

Here is another solution which I feel is more sensible for those working on Android Studio:

  1. Expand the project root folder in the Project View
  2. Right Click on the app folder
  3. In the Context Menu go to New->Image Asset
  4. In the pop up that appears select the the new logo you would like to have(image/clip art/text).
  5. If you were selecting the image radio button (as is the default choice), if you clicked on the 3-buttons to show the path tree to locate your .png image file, most probably you might not be seeing it, so drag it from the Windows Explorer (if Windows) and drop it in the tree, and it will appear and ready for being selected.

That is it! You have a new logo for you app now.

查看更多
甜甜的少女心
6楼-- · 2020-01-26 13:01

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.

查看更多
Emotional °昔
7楼-- · 2020-01-26 13:08
  1. Go to AndroidManifest.xml

  2. In the tag, look for android:icon tag.

  3. Copy and paste your icon in drawable folder(available in res folder of your project).

  4. Set the value of android:icon tag as

    android:icon="@drawable/youriconname"

Voila! you are done. Save the changes and test.

查看更多
登录 后发表回答