Android的,图标被重复的,当我在设备上安装我的应用程序 [英] Android, icon been duplicate when i install my app on the device

查看:148
本文介绍了Android的,图标被重复的,当我在设备上安装我的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图安装我的设备(HTC渴望)上开发应用程序,我看到应用程序的图标复制

I try to install the app that i develop on my device (Htc desire) and i see that the icon of the app is duplicate

我需要更改为后期不发生呢?

what i need to change to don't late that happen?

如何删除图标吗?

感谢您的帮助!

推荐答案

今天我来到了这个问题,我使用的摇篮。

I came up this issue today, I am using Gradle.

我发现有一个文件夹 ./编译/舱单/调试/ AndroidManifest.xml中从构建的gradle生成的,它有重复的类别发射的意图过滤器

I found out there was a folder ./build/manifests/debug/AndroidManifest.xml was generated from gradle build, and it had duplicate intent-filter of category launcher.

<intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

...

<intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

一个有人走过来依赖的gradle项目进行编译。等我回去,并检查相关性项目,并删除它,问题解决了。

One of it was came by gradle dependencies compile project. So I went back and check dependencies project and remove it, and the problem solved.

这篇关于Android的,图标被重复的,当我在设备上安装我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆