- Home /
After installing the .apk , the App Icon appears twice
Hi ,
Currently I am on a small project . But now I have come across a wired problem . That is after building my game , after installing it on a real android device , the app icon appears twice . But when I uninstall any one of them , Suddenly other one disappears .
I have used AdMob for ads in my game . I followed this YouTube tutorial .
I believe this is related to Android manifest file . There are some same questions on Unity Answers , but neither of those properly explains how to solve this .
Here is My one AndroidManifest.xml file from D:\Folder\Folder\My Project Name\Assets\Plugins\Android\GoogleMobileAdsPlugin . Here is the link :- http://pastebin.com/W5GBF4zK
And my another AndroidManifest.xml is in D:\Folder\Folder\My Project Name\Assets\Plugins\Android\google-play-services_lib . Here is the link :- http://pastebin.com/4sbe1tfD
So what is wrong with those files or something else ?
I hope you will help me to figure it out :)
Answer by MadDevil · Aug 23, 2016 at 09:59 AM
As far as I know, there are two situations where you can have multiple icons appear.
1) You have installed two versions of your game with different bundle IDs. If you've changed your bundle ID between installs, the OS will think they are two separate apps rather than overwriting the first one.
2) In your Android manifest, you've listed two activities with the LAUNCHER property. You should only ever have one activity in the manifest for the Launcher. If you aren't doing any customization to your manifest, Unity should create a safe one automatically.
This will usually happen as $$anonymous$$adDevil said due to #2 - you declare 2 different activities with the LAUNCHER property.
Your answer
Follow this Question
Related Questions
Google Play showing This app is incompatible with all of your devices 1 Answer
java.lang.ClassNotFoundException while running Android activity 2 Answers
Android Build Failed @icon=@mipmap/app_icon 0 Answers
Why an Android build doesnt make a _Data file. 1 Answer
Can I alter the AndroidManifest file with Cloud Build? 0 Answers