จำกัดการโหลดในคอนเทนเนอร์ Android ในอุปกรณ์
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คอนเทนเนอร์ Android ในอุปกรณ์คือแอปที่จำลองระบบปฏิบัติการ Android ใน
อุปกรณ์ที่ใช้ระบบ Android ซึ่งรวมทั้งแอปที่จำลองระบบปฏิบัติการ Android ใน
เนื้อหาทั้งหมดและแอปที่จำลอง
บางส่วนของระบบปฏิบัติการ Android เท่านั้น
หากไม่ต้องการให้แอปคอนเทนเนอร์ Android ในอุปกรณ์โหลดลงในหรือทำการพร็อกซีใน Play
แอป Store คุณสามารถเพิ่มสตริงลงในไฟล์ Manifest ของแอปที่ประกาศการตั้งค่านี้
ข้อจำกัด
สร้างพร็อพเพอร์ตี้ภายใต้
<application>
ใน Android
ตั้งค่าไฟล์ Manifest ที่มี android:name
เป็น REQUIRE_SECURE_ENV
และ android:value
ถึง 1:
<property android:name="REQUIRE_SECURE_ENV" android:value="1" />
สำหรับกรณีการใช้งานนี้ คุณจะใช้พร็อพเพอร์ตี้ REQUIRE_SECURE_ENV
ได้โดยไม่ต้องคำนึงถึง
เวอร์ชัน Android ที่แอปของคุณใช้งาน
แอปคอนเทนเนอร์ Android ในอุปกรณ์คือ
จำเป็น
เพื่อเป็นการปฏิบัติตามประกาศนี้
ดูข้อมูลเพิ่มเติมเกี่ยวกับคอนเทนเนอร์ Android ในอุปกรณ์ได้ที่ความช่วยเหลือ
Center
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[[["เข้าใจง่าย","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"]],["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# Limit loading in on-device Android containers\n\n*On-device Android containers* are apps that simulate the Android OS on an\nAndroid-powered device. This includes both apps that simulate the Android OS in\nits entirety and apps that only simulate portions of the Android OS.\n\nIf you don't want on-device Android container apps to load in or proxy your Play\nStore app, you can add a string to your app manifest that declares this\nrestriction.\n\nCreate a [property](/guide/topics/manifest/property-element) under the\n[`\u003capplication\u003e`](/guide/topics/manifest/application-element) in your Android\nmanifest with `android:name` set to `REQUIRE_SECURE_ENV` and `android:value` set\nto 1: \n\n \u003cproperty android:name=\"REQUIRE_SECURE_ENV\" android:value=\"1\" /\u003e\n\nFor this use case, you can use the `REQUIRE_SECURE_ENV` property regardless of\nthe Android version that your app runs on.\n\nOn-device Android container apps are\n[required](https://support.google.com/googleplay/android-developer/answer/9888379)\nto respect this declaration.\n\nFor more information about on-device Android containers, see the [Help\nCenter](https://support.google.com/googleplay/android-developer/answer/13609005)."]]