החל מ-27 במרץ 2025, מומלץ להשתמש ב-android-latest-release
במקום ב-aosp-main
כדי ליצור תרומות ל-AOSP. מידע נוסף זמין במאמר שינויים ב-AOSP.
מסמך הגדרת התאימות ל-Android
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
ברוכים הבאים למסמך הגדרת התאימות (CDD) של Android. במסמך הזה מפורטות הדרישות שצריך לעמוד בהן כדי שהמכשירים יהיו תואמים לגרסה האחרונה של Android. כדי להיחשב כתואם ל-Android, הטמעות של מכשירים חייבות לעמוד בדרישות שמפורטות בהגדרת התאימות הזו, כולל מסמכים שמשולבים באמצעות הפניה. לכל גרסה של פלטפורמת Android יתבצע עדכון של CDD מפורט. ה-CDD מייצג את ההיבט של 'מדיניות' בתאימות ל-Android.
חשוב שהמדיניות של תוכנית התאימות של Android תקודד באופן מפורש, כי אף חבילת בדיקות, כולל חבילת הבדיקות של תאימות Android (CTS), לא יכולה להיות מקיפה באמת. לדוגמה, ה-CTS כולל בדיקה שמאתרת את נוכחות ממשקי ה-API של הגרפיקה של OpenGL ומבצעת בדיקה של ההתנהגות הנכונה שלהם, אבל אף בדיקת תוכנה לא יכולה לאמת שהגרפיקה מופיעה בצורה נכונה במסך. באופן כללי, אי אפשר לבדוק את נוכחות התכונות של החומרה, כמו מקלדות, צפיפות המסך, Wi-Fi ו-Bluetooth.
התפקיד של CDD הוא לקודד ולבהיר דרישות ספציפיות, ולמנוע אי-בהירות. ה-CDD לא מנסה להיות מקיף. Android היא גוף אחד של קוד בקוד פתוח, ולכן הקוד עצמו הוא 'המפרט' המקיף של הפלטפורמה וממשקי ה-API שלה. ה-CDD משמש כ'רכז' שמפנה לתוכן אחר (כמו תיעוד של SDK API) ומספק מסגרת שבה אפשר להשתמש בקוד המקור של Android כדי שהתוצאה הסופית תהיה מערכת תואמת.
אם רוצים לפתח מכשיר תואם לגרסה מסוימת של Android, צריך קודם לבדוק את קוד המקור של הגרסה הזו, ואז לקרוא את ה-CDD התואם ולפעול בהתאם להנחיות שלו.
אפשר להציג את CDD העדכני ביותר כדף אינטרנט בפורמט HTML.
כאן אפשר למצוא גרסאות שפורסמו של CDD ומחרוזות של גרסאות שפורסמו ואושרו:
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון 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-26 (שעון UTC)."],[],[],null,["# Android Compatibility Definition Document\n\nWelcome to the Android Compatibility Definition Document (CDD). This document\nenumerates the requirements that must be met in order for devices to be\ncompatible with the latest version of Android. To be considered compatible with\nAndroid, device implementations MUST meet the requirements\npresented in this Compatibility Definition, including any documents\nincorporated via reference. For each release of the Android platform, a\ndetailed CDD will be provided. The CDD represents the \"policy\" aspect of\nAndroid compatibility.\n\nIt is important the policy of the Android compatibility program is codified\nexplicitly as no test suite, including the\n[Android Compatibility Test Suite (CTS)](/docs/compatibility/cts),\ncan truly be comprehensive. For instance, the CTS includes a test that checks for the presence and\ncorrect behavior of OpenGL graphics APIs, but no software test can verify that the\ngraphics actually appear correctly on the screen. More generally, it's\nimpossible to test the presence of hardware features such as keyboards, display\ndensity, Wi-Fi, and Bluetooth.\n\nThe CDD's role is to codify and clarify specific requirements, and\neliminate ambiguity. The CDD does not attempt to be comprehensive. Since\nAndroid is a single corpus of open-source code, the code itself is the\ncomprehensive \"specification\" of the platform and its APIs. The CDD acts as a\n\"hub\" referencing other content (such as SDK API documentation) that provides\na framework in which the Android source code may be used so that the end\nresult is a compatible system.\n\nIf you want to build a device compatible with a given Android version,\nstart by checking out the source code for that version, and then read the\ncorresponding CDD and stay within its guidelines.\n\n\nYou may view the latest CDD as an [HTML](/docs/compatibility/android-cdd) web page.\n\nFind released versions of the CDD and approved release version strings here:\n\n| Version | PDF | HTML/XHTML | Strings |\n|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------|-------------------------------------------------|\n| 16 | --- | [android-16-cdd.html](/docs/compatibility/16/android-16-cdd) | [Version 16](/docs/compatibility/16/versions) |\n| 15 | --- | [android-15-cdd.html](/docs/compatibility/15/android-15-cdd) | [Version 15](/docs/compatibility/15/versions) |\n| 14 | --- | [android-14-cdd.html](/docs/compatibility/14/android-14-cdd) | [Version 14](/docs/compatibility/14/versions) |\n| 13 | --- | [android-13-cdd.html](/docs/compatibility/13/android-13-cdd) | [Version 13](/docs/compatibility/13/versions) |\n| 12 | [android-12-cdd.pdf](/static/docs/compatibility/12/android-12-cdd.pdf) | [android-12-cdd.html](/docs/compatibility/12/android-12-cdd) | [Version 12](/docs/compatibility/12/versions) |\n| 11 | [android-11-cdd.pdf](/static/docs/compatibility/11/android-11-cdd.pdf) | [android-11-cdd.html](/docs/compatibility/11/android-11-cdd) | [Version 11](/docs/compatibility/11/versions) |\n| 10 | [android-10-cdd.pdf](/static/docs/compatibility/10/android-10-cdd.pdf) | [android-10-cdd.html](/docs/compatibility/10/android-10-cdd) | [Version 10](/docs/compatibility/10/versions) |\n| 9 | [android-9-cdd.pdf](/static/docs/compatibility/9/android-9-cdd.pdf) | [android-9-cdd.html](/docs/compatibility/9/android-9-cdd) | [Version 9](/docs/compatibility/9/versions) |\n| 8.1 | [android-8.1-cdd.pdf](/static/docs/compatibility/8.1/android-8.1-cdd.pdf) | [android-8.1-cdd.html](/docs/compatibility/8.1/android-8.1-cdd) | [Version 8.1](/docs/compatibility/8.1/versions) |\n| 8.0 | [android-8.0-cdd.pdf](/static/docs/compatibility/8.0/android-8.0-cdd.pdf) | [android-8.0-cdd.html](/docs/compatibility/8.0/android-8.0-cdd) | [Version 8.0](/docs/compatibility/8.0/versions) |\n| 7.1 | [android-7.1-cdd.pdf](/static/docs/compatibility/7.1/android-7.1-cdd.pdf) | [android-7.1-cdd.html](/docs/compatibility/7.1/android-7.1-cdd) | [Version 7.1](/docs/compatibility/7.1/versions) |\n| 7.0 | [android-7.0-cdd.pdf](/static/docs/compatibility/7.0/android-7.0-cdd.pdf) | [android-7.0-cdd.html](/docs/compatibility/7.0/android-7.0-cdd) | [Version 7.0](/docs/compatibility/7.0/versions) |\n| 6.0 | [android-6.0-cdd.pdf](/static/docs/compatibility/6.0/android-6.0-cdd.pdf) | [android-6.0-cdd.html](/docs/compatibility/6.0/android-6.0-cdd) | [Version 6.0](/docs/compatibility/6.0/versions) |\n| 5.1 | [android-5.1.cdd.pdf](/static/docs/compatibility/5.1/android-5.1-cdd.pdf) | [android-5.1-cdd.html](/docs/compatibility/5.1/android-5.1-cdd) | [Version 5.1](/docs/compatibility/5.1/versions) |\n| 5.0 | [android-5.0.cdd.pdf](/static/docs/compatibility/5.0/android-5.0-cdd.pdf) | [android-5.0-cdd.html](/docs/compatibility/5.0/android-5.0-cdd) | [Version 5.0](/docs/compatibility/5.0/versions) |\n| 4.4 | [android-4.4.cdd.pdf](/static/docs/compatibility/4.4/android-4.4-cdd.pdf) | [android-4.4-cdd.html](/docs/compatibility/4.4/android-4.4-cdd) | [Version 4.4](/docs/compatibility/4.4/versions) |\n| 4.3 | [android-4.3.cdd.pdf](/static/docs/compatibility/4.3/android-4.3-cdd.pdf) | [android-4.3-cdd.html](/docs/compatibility/4.3/android-4.3-cdd) | [Version 4.3](/docs/compatibility/4.3/versions) |\n| 4.2 | [android-4.2.cdd.pdf](/static/docs/compatibility/4.2/android-4.2-cdd.pdf) | [android-4.2-cdd.html](/docs/compatibility/4.2/android-4.2-cdd) | [Version 4.2](/docs/compatibility/4.2/versions) |\n| 4.1 | [android-4.1.cdd.pdf](/static/docs/compatibility/4.1/android-4.1-cdd.pdf) | [android-4.1-cdd.html](/docs/compatibility/4.1/android-4.1-cdd) | [Version 4.1](/docs/compatibility/4.1/versions) |\n| 4.0 | [android-4.0.cdd.pdf](/static/docs/compatibility/4.0/android-4.0-cdd.pdf) | [android-4.0-cdd.html](/docs/compatibility/4.0/android-4.0-cdd) | [Version 4.0](/docs/compatibility/4.0/versions) |\n| 2.3 | [android-2.3.cdd.pdf](/static/docs/compatibility/2.3/android-2.3-cdd.pdf) [android-2.3.3-cdd.pdf](/static/docs/compatibility/2.3/android-2.3.3-cdd.pdf) | [android-2.3-cdd.html](/docs/compatibility/2.3/android-2.3-cdd) | [Version 2.3](/docs/compatibility/2.3/versions) |\n| 2.2 | [android-2.2.cdd.pdf](/static/docs/compatibility/2.2/android-2.2-cdd.pdf) | [android-2.2-cdd.html](/docs/compatibility/2.2/android-2.2-cdd) | [Version 2.2](/docs/compatibility/2.2/versions) |\n| 2.1 | [android-2.1.cdd.pdf](/static/docs/compatibility/2.1/android-2.1-cdd.pdf) | [android-2.1-cdd.html](/docs/compatibility/2.1/android-2.1-cdd) | [Version 2.1](/docs/compatibility/2.1/versions) |\n| 1.6 | [android-1.6.cdd.pdf](/static/docs/compatibility/1.6/android-1.6-cdd.pdf) | [android-1.6-cdd.html](/docs/compatibility/1.6/android-1.6-cdd) | |"]]