com.google.android.gms.permission.AD_ID Error

Hi Everyone,

I currently receiving this error when adding this line of code into AndroidManifest in project setting " com.google.android.gms.permission.AD_ID " when trying to package and/or deploy to Android. I already declare AD ID permission in Google Play Console but the error still priciest.

Error: ERROR: AndroidManifest.xml is invalid System.Xml.XmlException: ‘android’ is an unexpected token. The expected token is ‘=’. Line 6, position 27.

I also use the default Billing 4.0.0 and 5.0.0
Android Billing Plugin without success.

If i remove the “com.google.android.gms.permission.AD_ID Error” it will package but once i upload the build in Google Play Console i get an error stating that i need to add that piece of code in order to see Ads.

Does anyone know hoe to fix this issue ?

saddly no one answered this

Hi Juan,

Try putting the permission code under ‘Extra Permissions’ rather than ‘Extra Tags for Manifest’ as linked

4 Likes

Doesn’t work

Found solution?

This has worked for me!

1 Like

This worked for me, ran into the issue today. Thanks!