קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אפליקציות שנחתמו על ידי הפלטפורמה הן אפליקציות שמשתמשות באותו אישור חתימה (או באישור תואם) עם חבילת הפלטפורמה (android). אפליקציה שנחתמה על ידי הפלטפורמה יכולה להיות אפליקציית מערכת (שנמצאת במחיצה של תמונת מערכת) או אפליקציה שאינה אפליקציית מערכת. מזהי UID משותפים שנחתמו על ידי הפלטפורמה הם מזהי UID משותפים (android:sharedUserId) שמכילים אפליקציות שנחתמו על ידי הפלטפורמה. גרסאות שניתן לבצע בהן ניפוי באגים הן גרסאות שהפונקציה android.os.Build.isDebuggable() מחזירה true, כמו גרסאות userdebug או eng.
בעבר, ליצרני מכשירים הייתה שליטה מועטה באפליקציות לא מערכתיות עם חתימה של הפלטפורמה שיכלו להצטרף ל-UID משותף עם חתימה של הפלטפורמה. החל מ-Android 15, יצרנים יכולים לאפשר באופן מפורש לאפליקציות לא מערכתיות עם חתימה של הפלטפורמה להצטרף למזהי משתמש משותפים עם חתימה של הפלטפורמה בקובצי ה-XML של הגדרות המערכת בספרייה /etc/sysconfig. אם אפליקציה לא מערכתית עם חתימה של פלטפורמה לא נוספת לרשימת ההיתרים של UID משותף עם חתימה של פלטפורמה, והאפליקציה עדיין מנסה להצטרף ל-UID המשותף עם חתימה של פלטפורמה (עם android:sharedUserId במניפסט שלה), אי אפשר להתקין את האפליקציה הזו בגרסאות שאי אפשר לנפות בהן באגים.
כדי למצוא רשומה חסרה ברשימת ההיתרים, נסו להתקין את האפליקציה הלא-מערכתית שחתמתם עליה בפלטפורמה בגרסה שלא ניתן לבצע בה ניפוי באגים, ובדקו אם עדיין אפשר להתקין אותה. אם לא, אפשר לבדוק את יומני המכשיר כדי לראות אם מופיעות הודעות אזהרה בפורמט הבא:
Non-preload app {PACKAGE_NAME} signed with platform signature and joining shared uid: {SHARED_UID_NAME}
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-09-04 (שעון 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-09-04 (שעון UTC)."],[],[],null,["Platform-signed apps are apps sharing the same (or compatible) signing\ncertificate with the platform package (`android`). A platform-signed app can be\na system app (located on a system image partition), or a nonsystem app.\nPlatform-signed shared UIDs are shared UIDs (`android:sharedUserId`) that\ncontain platform-signed apps. Debuggable builds are builds whose\n`android.os.Build.isDebuggable()` return `true`, such as `userdebug` or `eng`\nbuilds.\n\nHistorically, device manufacturers had little control over which platform-signed\nnonsystem apps could join a platform-signed shared UID. Starting in Android\n15, manufacturers can explicitly allow platform-signed\nnonsystem apps to join platform-signed shared UIDs in the system configuration\nXML files in the `/etc/sysconfig` directory. If a platform-signed nonsystem app\nisn't added to the allowlist for a platform-signed shared UID, and the app still\ntries to join the platform-signed shared UID (with `android:sharedUserId` in its\nmanifest), that app can't be installed on nondebuggable builds.\n| **Note:** The allowlist isn't enforced on debuggable builds to facilitate easier testing.\n| **Note:** Platform-signed system apps aren't affected by this change.\n\nAdd an allowlist\n\nYou can list allowlists for apps in a single XML file or in multiple XML files,\nsimilar to\n[`frameworks/base/data/etc/package-shareduid-allowlist.xml`](https://cs.android.com/android/platform/superproject/+/android-latest-release:frameworks/base/data/etc/package-shareduid-allowlist.xml): \n\n \u003c!--\n This XML defines an allowlist for packages that want to join a particular shared-uid.\n If a non-system package that is signed with platform signature, is trying to join a particular\n shared-uid, and not in this list, the installation will fail.\n\n - The \"package\" XML attribute refers to the app's package name.\n - The \"shareduid\" XML attribute refers to the shared uid name.\n --\u003e\n\n \u003cconfig\u003e\n \u003callow-package-shareduid package=\"android.test.settings\" shareduid=\"android.uid.system\" /\u003e\n \u003c/config\u003e\n\nFind missing allowlist\n\nTo find a missing allowlist entry, try to install your platform-signed nonsystem\napp on a nondebuggable build and check if it can still be installed. If not, you\ncan inspect device logs for the following format of warning messages: \n\n Non-preload app {PACKAGE_NAME} signed with platform signature and joining shared uid: {SHARED_UID_NAME}"]]