android / privacy-sandbox-samples

Apache License 2.0
130 stars 52 forks source link

Attribution API: Get Permission Denial Exception During Source Registration #70

Closed longv closed 1 year ago

longv commented 1 year ago

Hi Team,

After updating to Developer Preview 8 and trying to register the attribution source, I keep getting this error:

Unhandled exception thrown during transaction: java.lang.SecurityException: Permission Denial: opening provider com.android.adservices.service.measurement.registration.AsyncRegistrationContentProvider from ProcessRecord{eb6e04f 20137:com.google.android.adservices.api/u0a246} (pid=20137, uid=10246) that is not exported from UID 10243

Tested on:

Steps taken:

Do you know what could be the issue?

pazlavi commented 1 year ago

Do you have any updates on this issue? I am facing the same exception with Pixel 6 device (UpsideDownCakePrivacySandbox/URA8.230510.005).

erintwalsh commented 1 year ago

Hi @longv and @pazlavi,

This is a known issue on Developer Preview 8 and will be fixed in Developer Preview 9. If this is blocking your testing, we recommend using a Beta release.