我想知道如何改变在Android工作室的启动器图标。


当前回答

要更改应用程序图标,请转到您的res目录,右键单击mipmap文件夹,单击New > Image Asset。通过从菜单中单击图像资产,将打开一个资产工作室对话框,从源资产部分选择资产类型图像,从路径选择您想要的图像,然后单击下一步按钮,最后单击完成来更改图标。

其他回答

以下是我认为更适合Android Studio开发者的另一个解决方案:

Expand the project root folder in the Project View Right Click on the app folder In the Context Menu go to New->Image Asset In the pop up that appears select the the new logo you would like to have(image/clip art/text). 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.

就是这样!你有一个新的标志为您的应用程序现在。

至:

Res >可绘制>右击>显示在文件夹>添加所需的标志

然后进入android manifest,在application标签下编辑ICON标签,使用@drawable/nameOfImage

打开AndroidManifest.xml,将android:icon="@mipmap/ic_launcher"修改为android:icon="@mipmap/(你的图像名)" 假设你有一个名为telugu的图像,你想把它设置为你的应用程序图标,然后改变android:icon="@mipmap/telugu",你必须复制并粘贴你的图像到mipmap文件夹,这就像我说的那样简单

Android studio方法(适用于Android)

步骤1:

步骤2:

步骤3:

要在Android Studio中快速创建一组新的图标并更改启动器图标,您可以:

使用这个工具: https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html 上传您首选的图像或图标(源文件)。 然后,该工具自动为ic_launcher.png文件创建一组不同分辨率的图标。 下载由工具创建的zip文件,解压所有内容(这将为所有不同的分辨率创建一个文件夹结构),然后替换项目res文件夹中的所有图标: < AndroidStudioProjectPath > \ app \ src \ \ res