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


当前回答

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

其他回答

我们可以在应用程序标记中替换AndroidManifest文件中的代码

android:icon="@drawable/logo"

以下是我认为更适合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.

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

所有的下载过程太长了,只是导航到你的项目预览,选择项目视图,右键单击应用文件夹,然后单击新建,然后创建一个新的图像资产。请选择文件路径,然后单击下一步并完成。

重要的是: 重新安装应用程序。

单击应用程序/表现/ AndroidManifest.xml 你看到android:icon="@mipmap/你的图像名称"

修改android:roundicon="@mipmap/你的图像名" 例子: android:图标= " @mipmap /形象” 这是所有

试试这个方法,可能会对你有帮助。

创建大小为512x512像素的PNG图像文件 在菜单中,进入“文件->新建->图像资产” 在资产类型选项中选择图像选项 点击右边的目录框。 拖动图像到源资产框 单击下一步(注意:现有的启动器文件将被覆盖) 单击Finish

***** NB:图标类型应该是启动器图标(自适应和遗留)*****