ตั้งแต่วันที่ 27 มีนาคม 2025 เป็นต้นไป เราขอแนะนำให้ใช้ android-latest-release
แทน aosp-main
เพื่อสร้างและมีส่วนร่วมใน AOSP โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการเปลี่ยนแปลงใน AOSP
Android Runtime (ART)
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
โมดูล ART มีเป้าหมายเพื่อปรับปรุงประสบการณ์การใช้งาน Android โดยมอบการเพิ่มประสิทธิภาพรันไทม์ที่มีการจัดการ ฟีเจอร์ และการแก้ไขข้อบกพร่องล่าสุดให้แก่ผู้ใช้ ผู้ใช้ไม่ต้องใช้รันไทม์ที่มาพร้อมกับอุปกรณ์อีกต่อไป นักพัฒนาแอปไม่ต้องรอฟังก์ชันการทำงานใหม่ๆ นานหลายปีอีกต่อไป การปรับปรุงรันไทม์และไลบรารีจะแชร์กับพาร์ทเนอร์ Android ทั้งหมด
Android Runtime (ART) และไลบรารีหลักที่มีการจัดการ (libcore) เป็นส่วนหนึ่งของความพยายามในโมดูลรันไทม์ใน Android 10 ร่วมกับรันไทม์เนทีฟ (Bionic) และ ICU
ใน Android 11 ระบบจะแพ็กเกจ ART และ libcore เป็น APEX ที่อัปเดตไม่ได้ Bionic และ ICU (โค้ดและข้อมูล) จะยังคงอยู่ในแพลตฟอร์มและแยกจาก ART เพื่อปรับปรุงความสามารถในการอัปเดต
ขอบเขตของโมดูล
ชื่อโปรเจ็กต์
|
วัตถุประสงค์
|
art
|
โปรเจ็กต์โมดูล
|
external/apache-xml
|
โปรเจ็กต์โมดูล
|
external/bouncycastle
|
โปรเจ็กต์โมดูล
|
external/okhttp
|
โปรเจ็กต์โมดูล
|
external/oj-libjdwp
|
โปรเจ็กต์โมดูล
|
libcore
|
โปรเจ็กต์โมดูล
|
libnativehelper
|
โปรเจ็กต์โมดูล
|
system/core/libnativebridge
|
โปรเจ็กต์โมดูล
|
system/core/libnativeloader
|
โปรเจ็กต์โมดูล
|
โมดูล ART (com.android.art
) จะมาพร้อมกับ APEX เนื่องจากเป็นคอมโพเนนต์ของระบบที่สำคัญ แอปพลิเคชันและบริการภายใน APK ต้องมีโมดูล ART จึงจะเริ่มต้นได้
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา 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,["# Android Runtime (ART)\n\nThe ART module aims to improve the Android experience by offering users the\nlatest managed runtime optimizations, features, and bug fixes. Users are no\nlonger stuck on the runtime that shipped with their device. Developers\nno longer wait for years for the new functionalities. Improvements to the\nruntime and libraries are shared across all Android partners.\n\nThe Android Runtime (ART) and managed core library (libcore) were part of the\nRuntime module effort in Android 10 along with the native runtime (Bionic) and\nICU.\n\nIn Android 11, ART and libcore are packaged as non-updateable APEX. Bionic and\nICU (code and data) remain on the platform and are separated from ART\nto improve updatability.\n\nModule boundary\n---------------\n\n| Project name | Purpose |\n|-------------------------------|----------------|\n| `art` | Module project |\n| `external/apache-xml` | Module project |\n| `external/bouncycastle` | Module project |\n| `external/okhttp` | Module project |\n| `external/oj-libjdwp` | Module project |\n| `libcore` | Module project |\n| `libnativehelper` | Module project |\n| `system/core/libnativebridge` | Module project |\n| `system/core/libnativeloader` | Module project |\n\nPackage format\n--------------\n\nThe ART module (`com.android.art`) ships as an APEX since it is a critical\nsystem component. Applications and services inside APKs require the ART module\nto be present before they can be started."]]