Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

2 Icons when i install the game, directly from APK og Google PLay

Discussion in 'Android' started by MG, Aug 17, 2015.

  1. MG

    MG

    Joined:
    Nov 10, 2012
    Posts:
    190
    Hey, when i install my game 2 icons appear, i know it is something in the manifest, but i dont know which one

    Manifest 1: Plugins/Android/GoogleMobileAdsPlugin/AndroidManifest.xml

    Code (CSharp):
    1. <?xml version="1.0" encoding="utf-8"?>
    2. <!--
    3.  
    4. This Google Mobile Ads plugin library manifest will get merged with your
    5. application's manifest, adding the necessary activity and permissions
    6. required for displaying ads.
    7.  
    8. -->
    9. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
    10.    package="com.google.unity"
    11.    android:versionName="1.0"
    12.    android:versionCode="1">
    13.  <uses-sdk android:minSdkVersion="9"
    14.      android:targetSdkVersion="19" />
    15.  <!-- Google Mobile Ads Permissions -->
    16.  <uses-permission android:name="android.permission.INTERNET"/>
    17.  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    18.  <application>
    19.    <!-- Denote the referenced Google Play services version -->
    20.    <meta-data android:name="com.google.android.gms.version"
    21.        android:value="@integer/google_play_services_version" />
    22.    <!-- Google Mobile Ads Activity -->
    23.    <activity android:name="com.google.android.gms.ads.AdActivity"
    24.        android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
    25.    
    26.        <activity android:name="com.unity3d.player.UnityPlayerNativeActivity"
    27.    android:label="@string/app_name">
    28.    <intent-filter>
    29.      <action android:name="android.intent.action.MAIN" />
    30.     <category android:name="android.intent.category.LAUNCHER" />
    31.    </intent-filter>
    32.    <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
    33.    <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik"
    34.        android:value="true" />
    35. </activity>
    36.    
    37.  </application>
    38. </manifest>
    39.  
    Manifest 2: Plugins/Android/google-play-service_lib/AndroidManifest.xml
    Code (CSharp):
    1. <?xml version="1.0" encoding="utf-8"?>
    2. <!-- Copyright (C) 2012 The Android Open Source Project
    3.  
    4.      Licensed under the Apache License, Version 2.0 (the "License");
    5.      you may not use this file except in compliance with the License.
    6.      You may obtain a copy of the License at
    7.  
    8.           http://www.apache.org/licenses/LICENSE-2.0
    9.  
    10.      Unless required by applicable law or agreed to in writing, software
    11.      distributed under the License is distributed on an "AS IS" BASIS,
    12.      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13.      See the License for the specific language governing permissions and
    14.      limitations under the License.
    15. -->
    16. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
    17.           package="com.google.android.gms">
    18.     <uses-sdk android:minSdkVersion="9"/>
    19.  
    20.     <application>
    21.         <meta-data
    22.             android:name="com.google.android.gms.version"
    23.             android:value="@integer/google_play_services_version" />
    24.     </application>
    25.  
    26. </manifest>
    27.  
    Could you help me?
     
  2. MG

    MG

    Joined:
    Nov 10, 2012
    Posts:
    190
    UUUUUUPPPPPPPPPP