Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by NicolusBuck · Jan 16, 2016 at 04:24 PM · androidunity 5android buildandroid-manifesticon

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 :)

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1

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.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image liortal · Aug 23, 2016 at 10:07 AM 0
Share

This will usually happen as $$anonymous$$adDevil said due to #2 - you declare 2 different activities with the LAUNCHER property.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges