ตั้งแต่วันที่ 27 มีนาคม 2025 เป็นต้นไป เราขอแนะนำให้ใช้ android-latest-release
แทน aosp-main
เพื่อสร้างและมีส่วนร่วมใน AOSP โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการเปลี่ยนแปลงใน AOSP
สตริงเวอร์ชันที่อนุญาตสำหรับ Android 5.0
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ดังที่อธิบายไว้ในส่วนที่ 3.2.2 ของคำจำกัดความความเข้ากันได้ของ Android 5.0 มีเพียงสตริงบางรายการเท่านั้นที่อนุญาตให้ใช้กับพร็อพเพอร์ตี้ของระบบ android.os.Build.VERSION.RELEASE
เหตุผลคือแอปพลิเคชันและเว็บไซต์อาจใช้ค่าที่คาดการณ์ได้สำหรับสตริงนี้ และเพื่อให้ผู้ใช้ปลายทางระบุเวอร์ชัน Android ที่ทำงานในอุปกรณ์ของตนได้อย่างง่ายดายและเชื่อถือได้
เนื่องจากซอฟต์แวร์ Android รุ่นต่อๆ ไปอาจแก้ไขสตริงนี้แต่จะไม่เปลี่ยนแปลงลักษณะการทํางานของ API รุ่นดังกล่าวจึงอาจไม่มีเอกสารคําจํากัดความความเข้ากันได้ใหม่ หน้านี้จะแสดงเวอร์ชันที่ระบบที่ใช้ Android 5.0 อนุญาต ค่าที่อนุญาตสำหรับ android.os.Build.VERSION.RELEASE
สำหรับ Android 5.0 มีดังนี้
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา 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,["# Permitted version strings for Android 5.0\n\nAs described in Section 3.2.2 of the [Android 5.0 Compatibility Definition](/static/docs/compatibility/5.0/android-5.0-cdd.pdf),\nonly certain strings are allowable for the system property\n`android.os.Build.VERSION.RELEASE`. The reason for this is that\napplications and web sites may rely on predictable values for this string, and\nso that end users can easily and reliably identify the version of Android\nrunning on their devices.\n\nBecause subsequent releases of the Android software may revise this string,\nbut not change any API behavior, such releases may not be accompanied by a new\nCompatibility Definition Document. This page lists the versions that are\nallowable by an Android 5.0-based system. The only permitted values for\n`android.os.Build.VERSION.RELEASE` for Android 5.0 are:\n\n- 5.0\n- 5.0.1\n- 5.0.2"]]