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 Pedrocosta2111 · Jun 07, 2017 at 02:53 PM · androidandroid buildpluginapkinstall

Unity apk installing 2 icons

After installing my apk file, I can see two icons on my device as if the app is installing twice. One thing I think it's causing this is that, before I made a new build, I had installed this plugin : http://u3d.as/kgE

I've done my research on this and this are the conclusions I came to (I always made sure I uninstalled the previous apk before installing a new one):

  • I don't think it is due to the package name

  • My android manifest only has one launcher activity

  • Apparently when I uninstall one "icon" it uninstalls the other one

Anyone know what might be causing this problem?

Comment
Add comment · Show 3
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 SohailBukhari · Jun 08, 2017 at 06:01 AM 0
Share

The problem of double icons on smartphones is caused by a wrong configuration of your personal settings on Google Play Store.

To solve it, you have to:

1 – find all the problematic Apps;

2 – go to Google Play — Settings – and deselect “Add icon to home screen”;

3 – uninstall the “problematic” Apps;

4 – reinstall them.

avatar image Pedrocosta2111 SohailBukhari · Jun 08, 2017 at 11:16 AM 0
Share

I tried your solution and it still installs two icons

avatar image Pedrocosta2111 SohailBukhari · Jun 09, 2017 at 11:26 AM 0
Share

I think I have located the problem. The plugin installs a file called: nativeandroidlib-release.aar

I tried removing the said file and now the game doesn't install 2 icons, but of course, the plugin isn't working.

2 Replies

· Add your reply
  • Sort: 
avatar image
5
Best Answer

Answer by Pedrocosta2111 · Jun 11, 2017 at 03:59 PM

I have found my problem. I had nativeandroidlib-release.aar file and after I read some stuff I found out these files are like compressed files (like .zip, .rar etc etc).

After I opened it with winrar I could see there was an AndroidManifest in there. I opened it and found out it had the following code:

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

This piece of code can only appear once in every project (you can research about it if you want). I just went to my main AndroidManifest, deleted the piece of code that was like this and voila.

I hope I helped anyone with the same issue.

Comment
Add comment · Show 3 · 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 elpuerco63 · Jun 22, 2017 at 01:08 PM 0
Share

thank you :-)

avatar image TaskiranXKTK · Aug 24, 2018 at 05:52 PM 0
Share

Thank you! :')

avatar image MGGDev · Nov 06, 2018 at 01:24 PM 0
Share

Thanks for finding this out! But it removed all the game icons! The game installs but I can't click "open", and there is no icon for it (but it is still installed on the system). I reverted to an older manifest, and ins$$anonymous$$d of removing the lines above, I added one more line. $$anonymous$$y intent-filter is now:

 <intent-filter>
         <action android:name="android.intent.action.$$anonymous$$AIN" />
         <category android:name="android.intent.category.LAUNCHER" />
         <category android:name="android.intent.category.LEANBAC$$anonymous$$_LAUNCHER" />
       </intent-filter>
avatar image
0

Answer by sadeghpoor · Apr 28, 2020 at 12:58 PM

I add
android:theme="@style/UnityThemeSelector"
for tag application and my problem solved

Comment
Add comment · 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

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

132 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to use android Renderscript v8 with Unity? 0 Answers

Android Emulator fails to install Unity .apk 0 Answers

CommandInvokationFailure: Gradle build failed. when building app bundle 0 Answers

How can I include a C++ dll in the .apk file 3 Answers

Multiple APK for Android from same project, only one at a time installs 2 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