27 Mart 2025'ten itibaren AOSP'yi derlemek ve AOSP'ye katkıda bulunmak için aosp-main
yerine android-latest-release
kullanmanızı öneririz. Daha fazla bilgi için AOSP'de yapılan değişiklikler başlıklı makaleyi inceleyin.
Paket Yöneticisi Yapılandırması (desteği sonlandırıldı)
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Paket yöneticisindeki dexopt uygulaması yalnızca Android 13 ve önceki sürümler için geçerlidir. Android 14'te ARTService ile değiştirildi ve sonraki sürümde paket yöneticisinden kaldırılacak. ART Hizmeti'ni yapılandırma hakkında bilgi edinmek için ART Hizmeti Yapılandırması başlıklı makaleyi inceleyin.
Android 7.0'dan beri, çeşitli aşamalarda gerçekleşen derleme/doğrulama düzeyini belirtmenin genel bir yolu vardır.
Derleme düzeyleri, sistem özellikleri aracılığıyla yapılandırılabilir. Varsayılan değerler şunlardır:
pm.dexopt.install=speed-profile
Bu, Google Play veya diğer uygulama mağazaları üzerinden uygulama yüklerken kullanılan derleme filtresidir. Dex meta veri dosyalarındaki profillerin kullanılabilmesi için yükleme filtresinin speed-profile
olarak ayarlanmasını öneririz (blog'a bakın).
Profil sağlanmazsa veya boşsa speed-profile
değerinin verify
değerine eşit olduğunu unutmayın.
pm.dexopt.bg-dexopt=speed-profile
Bu, cihaz boştayken ve şarj olurken kullanılan derleme filtresidir. Profil odaklı derlemeden yararlanmak ve depolama alanından tasarruf etmek için speed-profile
derleyici filtresini deneyin.
pm.dexopt.boot-after-ota=verify
Kablosuz güncellemeden sonra kullanılan derleme filtresi. Çok uzun önyükleme sürelerini önlemek için bu seçenekte verify
derleyici filtresini kesinlikle öneririz.
pm.dexopt.first-boot=verify
-
Cihazın ilk kez açıldığı derleme filtresi. Burada kullanılan filtre yalnızca fabrika çıkışından sonraki önyükleme süresini etkiler. Kullanıcının telefonu ilk kez kullanması için uzun süre beklemesini önlemek amacıyla verify
filtresini kullanmanızı öneririz. Sistem resmindeki tüm uygulamalar doğru sınıf yükleyici bağlamında verify
, speed-profile
veya speed
ile derlenmişse ilk önyüklemedeki derlemenin atlandığını ve pm.dexopt.first-boot
'ın hiçbir etkisi olmadığını unutmayın.
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-27 UTC."],[],[],null,["# Package Manager Configuration (deprecated)\n\nThe dexopt implementation in the package manager only applies to Android\n13 and lower. In Android 14, it is replaced by ART\nService, and it will be removed from the package manager in the next version. For information about\nconfiguring ART Service, see\n[ART Service Configuration](/docs/core/runtime/configure/art-service).\n\n\nSince Android 7.0, there's a generic way to specify the level of\ncompilation/verification that happened at various stages.\nThe compilation levels can be configured via system properties\nwith the defaults being:\n\n- `pm.dexopt.install=speed-profile`\n- This is the compilation filter used when installing applications through Google Play or other app stores. We recommend the install filter be set to `speed-profile` in order to enable the use of profiles from the dex metadata files (see [blog](https://android-developers.googleblog.com/2019/04/improving-app-performance-with-art.html)). Note that if a profile isn't provided or if it is empty, `speed-profile` is equivalent to `verify`.\n- `pm.dexopt.bg-dexopt=speed-profile`\n- This is the compilation filter used when the device is idle and charging. Try the `speed-profile` compiler filter to take advantage of profile-guided compilation and save on storage.\n- `pm.dexopt.boot-after-ota=verify`\n- The compilation filter used after an over-the-air update. We **strongly** recommend the `verify` compiler filter for this option to avoid very long boot times.\n- `pm.dexopt.first-boot=verify`\n-\n The compilation filter for the first time the device ever boots. The filter\n used here only affects the boot time after factory. We recommend the filter\n `verify` for it to avoid long times before a user gets to\n use the phone for the very first time. Note that if all applications in\n the system image are already compiled with `verify`, `speed-profile`, or\n `speed` with the right class loader context, the compilation on the first boot will be\n skipped, and `pm.dexopt.first-boot` will have no effect."]]