• 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
1
Question by Sunil021 · Jul 03, 2015 at 07:28 PM · installation

After installing apk its shows two icons on device.

Hello

When I install apk its show two icons of game on device.

I had seen others answers regarding this.I didn't listed two activities with the LAUNCHER property.

Here is my code.

 <?xml version="1.0" encoding="utf-8"?>
 <!--
 This Google Mobile Ads plugin library manifest will get merged with your
 application's manifest, adding the necessary activity and permissions
 required for displaying ads.
 -->
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.google.unity"
     android:versionName="1.0"
     android:versionCode="1">
   <uses-sdk android:minSdkVersion="9"
       android:targetSdkVersion="19" />
   <!-- Google Mobile Ads Permissions -->
   <uses-permission android:name="android.permission.INTERNET"/>
   <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
   <!-- Uncomment to add billing for in-app purchase ads -->
   <uses-permission android:name="com.android.vending.BILLING"/>
   <application>
     <!-- Denote the referenced Google Play services version -->
     <meta-data android:name="com.google.android.gms.version"
         android:value="@integer/google_play_services_version" />
     <!-- Google Mobile Ads Activity -->
     <activity android:name="com.google.android.gms.ads.AdActivity"
         android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
     <!-- InAppPurchase Activity -->
     <activity android:name="com.google.android.gms.ads.purchase.InAppPurchaseActivity"
         android:theme="@style/Theme.IAPTheme"/>
         
        <activity android:name="com.unity3d.player.UnityPlayerNativeActivity"
     android:label="@string/app_name">
     <intent-filter>
       <action android:name="android.intent.action.MAIN" />
       <category android:name="android.intent.category.LAUNCHER" />
     </intent-filter>
     <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
     <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik"
         android:value="true" />
 </activity> 
         
 
   </application>
 </manifest>
 
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
2
Best Answer

Answer by W.Walter · Jul 04, 2015 at 02:40 AM

Heres an alternative idea:
Have you changed the package name, and so there are two unique builds of the app on your device? Delete both and start from scratch; that will rule that possible error out.

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 Sunil021 · Jul 04, 2015 at 06:21 AM 1
Share

Hello Sir

Thank you for clue

I just removed this line

problem solved.

Thanks you

avatar image kosalam2 · Oct 18, 2015 at 09:41 AM 0
Share

After remove Package name Problem Solved.Thank you.

avatar image meat5000 ♦ · Oct 18, 2015 at 12:41 PM 0
Share

To add : This should always be done as a matter of course. Countless hours will be saved.

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

24 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

Related Questions

Unity3d Web player installation User based installation on Mac OS X 0 Answers

Win 7 SP1 problem? 3 Answers

Mac os x installation path problem 0 Answers

Can I reinstall my Unity Pro License after it's been maxed out if my computer/hardrive fails? 1 Answer

Error "side-by-side configure is incorrect" when installing unity 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