android / privacy-sandbox-samples

Apache License 2.0
130 stars 52 forks source link

Getting Error Could not find job 14 while try to run jobscheduler run -f com.google.android.adservices.api 14 #79

Closed SmithBrode closed 9 months ago

SmithBrode commented 1 year ago

Hi Team, When I was trying to run jobschedule 14, I run into same problem with https://github.com/android/privacy-sandbox-samples/issues/76. And I followed the answer of yours to fix the problem but I still failed.Seems like that I missed this step below because I have no permission from Google to use Privacy SandBox. device_config put adservices mdd_measurement_manifest_file_url "https://www.gstatic.com/mdi-serving/rubidium-adservices-adtech-enrollment/1450/48d1f12448dd1c9f8f11d4d8e78f2143f74076cb" I would like to ask if this step is necessary? Is privacy sandbox api code in this authorization file to download? Thank you for your reply!

cshmerling commented 1 year ago

To use the Privacy Sandbox, you will need to enroll. That file is actually specific per enrollment, so that command won't work for you.

That being said. you can bypass enrollment requirements for the different APIs using the following commands, at which point you will not need to run the command mentioned in the title for this issue.

siran-work commented 12 months ago

Hi,

The job (all adservices' background jobs) is scheduled when adservices starts.

Have you called adservices at least once before forcing the job?

Could you send the logging? It would be helpful: adb shell setprop log.tag.adservices VERBOSE && adb logcat -s "adservices"

cshmerling commented 9 months ago

Marking as resolved due to inactivity. If you are still experiencing the issue please re-open