Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我在模拟器上安装我的应用程序时,它会在应用程序菜单中显示两个(我的应用程序)图标。看起来很糟糕,帮助解决这个问题。
你的文件中只有一个活动manifest应该有这个意图过滤器
manifest
<intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter
如果您将此意图过滤器添加到两个活动,它将创建两个应用程序图标。检查您的清单文件。