HI, I’ve posted this on answerhub but no-one seems to know how to fix it so ill try here.
Basically i want to set android:allowBackup=“false”.
I am doing so in the Plugins/Android/GoogleMobileAdsPlugin/
Doing so on it’s own gives the message saying application@allowBackup=true in :GoogleMobileAdsPlugin collides with another value (see console for details)
I have followed the console guidelines to add the tools replace
<?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" xmlns:tools="http://schemas.android.com/tools"
package="com.google.unity.ads"
android:versionName="21"
android:versionCode="21">
<uses-sdk android:minSdkVersion="14"
android:targetSdkVersion="19" />
<application android:allowBackup="false" tools:replace="android:allowBackup">
<uses-library android:required="false" android:name="org.apache.http.legacy"/>
<!-- Your AdMob App ID will look similar to this sample ID: ca-app-pub-3940256099942544~3347511713 -->
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value=""/>
</application>
<uses-permission android:name="com.android.vending.BILLING" />
</manifest>
After trying to build with this i get the same error, saying i should use the tools:replace.
I have opened and checked all manifest files inside my project and nowhere does android:allowBackup=“true” in the normal manifest, however it does appear in the final manifest when the project is built which i can obviously not edit.
Does anyone have any insight on why this happens, what’s setting it to try and how i can change it?
Thanks
EDIT:
Attached screenshot of errors.