- Home /
After installing the .APK I see the app icon twice
So, I have this pretty peculiar issue. I create an apk with Unity and then install that APK with ADB and it installs just fine. After installation, I go to check the application list on the phone(Samsung Galaxy S), and the application appears twice! But if I go to uninstall it, it appears as only one application.
The application only works the first time with one of the two icons, after that, I can resume it and start it with both icons. And apart from that weird issue, the application works just fine.
This started happening shortly after installing TapJoy's Unity plugin. It might not be related, but I think it's worth mentioning.
You might try building an empty project to check if you still have the same issue. Not really a solution, but could help identify what exactly is breaking.
Ok, I tried installing another Unity built apk I had lying around and it installed correctly. It doesn't appear twice in the Application list. But thanks anyway, at least that rules Unity out... for now. I'm gonna try installing the application on another phone, see how it goes.
Answer by kromenak · Mar 29, 2012 at 01:23 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.
Thank you Clark
It was because of reason #2, in my Android $$anonymous$$anifest I had two Launcher's defined. One of the Launcher's had sneaked on there when I installed the Tapjoy Plugin.
Again, thanks a lot.
my game is installs twice and shows twice icons !! (I did not change the bundle ID , and I have one activity with Launcher property!)
Your answer
Follow this Question
Related Questions
Can't find OBB when downloaded from Play Store on some devices (4.3.1) 1 Answer
cannot build apk :/ windows 8 and android SDK 0 Answers
UnityException: APK Builder Failed! 0 Answers
Help!How can I build a Unity3d project for x86? 0 Answers
Android - Design your app for tablets optimization tip on Google Play 0 Answers