หากต้องการใช้ Privacy Sandbox API ในส่วนขยาย SDK ของ AdServices เวอร์ชันล่าสุดของ Android ให้ประกาศระดับ API การคอมไพล์ของแอปและระดับส่วนขยาย SDK ในไฟล์ build.gradle ของแอป
android{// this will correspond to the API level shown in the SDK installation stepscompileSdk=35// this will correspond to the extenson version number in the API level// column of the extension installationcompileSdkExtension=14}
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-12-18 UTC"],[[["Follow the instructions to install the Privacy Sandbox on Android SDK within Android Studio, utilizing the latest Canary or Stable build for testing."],["Install necessary components including Android 13.0 with Extension Level 5, Android UpsideDownCakePrivacySandbox Preview (Developer Preview only), and Android SDK Build-Tools 33 or later."],["Declare the correct API levels based on whether targeting Beta or Developer Preview, with specific instructions for each."],["Ensure you have a supported device configured for testing the Privacy Sandbox on Android after completing setup."]]],[]]