I have a problem with uploading the latest version of my app to the Google Play store.
My application does not have any ads but it uses Firebase and com.google.android.gms.permission.AD_ID is put into the merged manifest. That's why I declared in the "App Content > Advertising ID" form that my app uses advertising ID for analytics.
However, I am now getting the following error:
Your advertising ID declaration in Play Console says that your app uses advertising ID. A manifest file in one of your active artifacts doesn't include the com.google.android.gms.permission.AD_ID permission.
This is not true because my manifest has it and also I have tried to put it in my manifest manually. But no luck. Still the same error.
On the other hand, when I update that the "App Content > Advertising ID" form to say that my application does not use advertising ID then I getting the following error:
This release includes the com.google.android.gms.permission.AD_ID permission but your declaration on Play Console says your app doesn't use advertising ID.
What should I do? Whatever I select, the error pops in.
I have a similar problem. I don't know how to fix it, but I have the following observation: in my case, the result depends on which SDK I target when I build the code. (sic!). So, precisely:
Now if I compile the app targeting SDK 32, then the merged Manifest does contain AD_ID but when I upload this to the Play Store, Google does not complain about anything. If I however compile the very same thing targeting SDK 33, the resulting Manifests looks identical to me (still contains AD_ID) but when I try uploading that, Google complains that I declare no ads in the app but in the Manifest there's AD_ID.