- Home /
Unable to merge android manifest.
I had added StartApp ads initially, which probably overwrote my manifest file.Then I added GooglePlayGames,google_play_serices and GoogleMobileAds plugins to my project after removing StartApp plugins.I started getting a build error of some .jar clash(Transform: Exception....).I re-imported all 3 google plugins and that problem was solved but now I am getting this "Unable to merge AndroidManifest" error.
D:\Documents\Exiled_Finger(StartApp_ad)\Temp\StagingArea\AndroidManifest-main.xml:37:67-97 Error: Attribute meta-data#com.google.android.gms.games.APP_ID@value value=(@string/app_id) from AndroidManifest-main.xml:37:67-97 is also present at AndroidManifest.xml:19:13-43 value=(\ 378275852207). Suggestion: add 'tools:replace="android:value"' to element at AndroidManifest-main.xml:37:5-100 to override.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Also I am Unable to understand what does 19:13-43 indicate(Is it some line in the script.but then why 3 values to indicate ,Unity normally uses 2).Help me with this please! What are they trying to say(Suggest)!I wish to add LeaderBoard and its not possible without fixing this error.
Some1 please help me. Atleast somebody tell me how to read the format which uses 3 values to locate an error in X$$anonymous$$L.
Answer by yjaveri99 · Apr 17, 2018 at 07:00 PM
I added 'com.google.android.gms.games.APP_ID@value value= "@string/app_id"' at meta-data attribute in the project' s AndroidManifest.xml.