透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Jetifier
這個獨立工具可將程式庫的依附元件,從已淘汰的支援程式庫遷移至對等的 AndroidX 依附元件。
最近更新時間 |
穩定版 |
候選版 |
Beta 版 |
Alpha 版 |
2020 年 9 月 2 日 |
- |
- |
1.0.0-beta10 |
- |
意見回饋
您的意見可協助我們改善 Jetpack。如果您發現新問題,或是有改進這個程式庫的建議,請告訴我們。回報新問題前,請先查看這個程式庫的現有問題。只要按一下星號按鈕,即可投票給現有的問題。
建立新問題
詳情請參閱 Issue Tracker 文件。
1.0.0 版本
1.0.0-beta10 版
2020 年 9 月 2 日
androidx.jetifier:jetifier-core:1.0.0-beta10
和 androidx.jetifier:jetifier-processor:1.0.0-beta10
發布。1.0.0-beta10 版包含這些修訂版本。
新功能
- 介紹時間戳記政策 (適用於決定性版本)
- 透過 jetifier 獨立版中的新參數「--timestampsPolicy」使用。
- 將 Jetizer 升級至 Asm 8
修正錯誤
1.0.0-beta09 版
2020 年 2 月 19 日
androidx.jetifier:jetifier-core:1.0.0-beta09
和 androidx.jetifier:jetifier-processor:1.0.0-beta09
發布。1.0.0-beta09 版包含這些修訂版本。
新功能
- 新增在 XML 中處理
@link
參照檔案的支援
修正錯誤
- 重新撰寫混合包含 AndroidX 和 android.support 參照的程式庫,因為先前略過這些檔案。(b/148462462)
1.0.0-beta08 版
2019 年 11 月 20 日
androidx.jetifier:jetifier-core:1.0.0-beta08
和 androidx.jetifier:jetifier-processor:1.0.0-beta08
發布。1.0.0-beta08 版包含這些修訂版本。
修正錯誤
1.0.0-beta07 版
2019 年 9 月 18 日
com.android.tools.build.jetifier:jetifier-core:1.0.0-beta07
和 com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta07
發布。1.0.0-beta07 版包含這些修訂版本。
修正錯誤
- 已修正
androidx.navigation
程式庫的對應
1.0.0-beta06 版
2019 年 8 月 15 日
androidx.jetifier:jetifier-core:1.0.0-beta06
和 androidx.jetifier:jetifier-processor:1.0.0-beta06
發布。您可以前往這裡查看這個版本包含的修訂項目。
修正錯誤
1.0.0-beta05 版
2019 年 6 月 18 日
com.android.tools.build.jetifier:jetifier-core:1.0.0-beta05
和 com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta05
發布。您可以前往這裡查看這個版本包含的修訂版本。
新功能
- 為「導覽」和「WorkManager」新增對應。
- Jetifier 現在可以略過包含 AndroidX 參照的程式庫。(b/119135578)
修正錯誤
1.0.0-beta04 版
2019 年 2 月 25 日
com.android.tools.build.jetifier 1.0.0-beta04
發布。
修正錯誤
- 已將
ConstraintLayout
版更新為 1.1.3
- 已修正
android.support.v4.os.ResultReceiver
的對應。(b/123651524)
1.0.0-beta03 版
2019 年 2 月 7 日
com.android.tools.build.jetifier 1.0.0-beta03
發布。
新功能
- 如果在 Jetified JAR 中找到簽名,Jetifier 現在會擲回例外狀況。您可以使用
-stripSignatures
來移除所有簽名檔案,藉此停用這項功能。這個做法不適用於舊版支援程式庫中沒有任何依附元件的程式庫,因為 Jetifier 會略過這些項目。(aosp/894356)
修正錯誤
- 已修正 android.support.customtabs 的 Jetification,因此 Jetifier 無法再遷移常數。(aosp/875343)
- 已修正若內含 POM 檔案,Jetifier 一律將未修改的封存檔標示為已修改的問題。(aosp/876353)
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[[["容易理解","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 (世界標準時間)。"],[],[],null,["# Jetifier\n========\n\nA standalone tool that migrates a library's dependencies on the deprecated support library to equivalent AndroidX dependencies. \n\n| Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |\n|-------------------|----------------|-------------------|------------------------------------------------------------------|---------------|\n| September 2, 2020 | - | - | [1.0.0-beta10](/jetpack/androidx/releases/jetifier#1.0.0-beta10) | - |\n\nFeedback\n--------\n\nYour feedback helps make Jetpack better. Let us know if you discover new issues or have\nideas for improving this library. Please take a look at the\n[existing issues](https://issuetracker.google.com/issues?q=componentid:460323%20status:open)\nin this library before you create a new one. You can add your vote to an existing issue by\nclicking the star button.\n\n[Create a new issue](https://issuetracker.google.com/issues/new?component=460323&template=1287245)\n\nSee the [Issue Tracker documentation](https://developers.google.com/issue-tracker)\nfor more information.\n\nVersion 1.0.0\n-------------\n\n### Version 1.0.0-beta10\n\nSeptember 2, 2020\n\n`androidx.jetifier:jetifier-core:1.0.0-beta10` and `androidx.jetifier:jetifier-processor:1.0.0-beta10` are released. [Version 1.0.0-beta10 contains these commits](https://android.googlesource.com/platform/frameworks/support/+log/6f7b9ed69dc63e3c2c2b02ee1155b6009a9d5f82..31022a2dda22705843be1199c786552a6f9f875d/jetifier/jetifier).\n\n**New features**\n\n- Introduced timestamp policy (for deterministic builds)\n - new parameter \"--timestampsPolicy\" in jetifier standalone to use it.\n- Upgraded jetifier to asm 8\n\n**Bug Fixes**\n\n- Fixed input method string mappings\n\n### Version 1.0.0-beta09\n\nFebruary 19, 2020\n\n`androidx.jetifier:jetifier-core:1.0.0-beta09` and `androidx.jetifier:jetifier-processor:1.0.0-beta09` are released. [Version 1.0.0-beta09 contains these commits](https://android.googlesource.com/platform/frameworks/support/+log/b062e6d3d53790823deac02cc553aa21461a4079..6f7b9ed69dc63e3c2c2b02ee1155b6009a9d5f82/jetifier).\n\n**New features**\n\n- Added support for processing `@link` references in XML\n\n**Bug Fixes**\n\n- Rewrite libraries that contain a mix of androidx and android.support references as these were skipped before. ([b/148462462](https://issuetracker.google.com/issues/148462462))\n\n### Version 1.0.0-beta08\n\nNovember 20, 2019\n\n`androidx.jetifier:jetifier-core:1.0.0-beta08` and `androidx.jetifier:jetifier-processor:1.0.0-beta08` are released. [Version 1.0.0-beta08 contains these commits](https://android.googlesource.com/platform/frameworks/support/+log/d9761c71f9eacfa0abb8f0bc3e2305c8b229d75a..b062e6d3d53790823deac02cc553aa21461a4079/jetifier/jetifier).\n\n**Bug fixes**\n\n- Fixed a ProGuard parsing error ([b/134100420](http://issuetracker.google.com/134100420))\n- Fixed a signature error that occurred on unmodified archives ([b/142580430](http://issuetracker.google.com/142580430))\n- Removed an unnecessary warning that displayed when modifying single files ([b/143609228](http://issuetracker.google.com/143609228))\n\n### Version 1.0.0-beta07\n\nSeptember 18, 2019\n\n`com.android.tools.build.jetifier:jetifier-core:1.0.0-beta07` and `com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta07` are released. [Version 1.0.0-beta07 contains these commits](https://android.googlesource.com/platform/frameworks/support/+log/af05c08e2a2f721b3f7411affca883f6a3336513..d9761c71f9eacfa0abb8f0bc3e2305c8b229d75a/jetifier).\n\n**Bug fixes**\n\n- Fixed the mappings of the `androidx.navigation` library\n\n### Version 1.0.0-beta06\n\nAugust 15, 2019\n\n`androidx.jetifier:jetifier-core:1.0.0-beta06` and `androidx.jetifier:jetifier-processor:1.0.0-beta06` are released. The commits included in this version can be found [here](https://android.googlesource.com/platform/frameworks/support/+log/c7ff6518ef8c45a3ce775f9a3dde4fbc77854e7a..af05c08e2a2f721b3f7411affca883f6a3336513/jetifier).\n\n**Bug fixes**\n\n- Fixed a thread safety issue with `Class.getResourceAsStream()`. ([b/137929327](https://issuetracker.google.com/issues/137929327), [b/120277395](https://issuetracker.google.com/issues/120277395))\n\n- Fixed `NullPointerException` when processing files locally with Jetifier standalone ([b/136576786](https://issuetracker.google.com/issues/136576786))\n\n### Version 1.0.0-beta05\n\nJune 18, 2019\n\n`com.android.tools.build.jetifier:jetifier-core:1.0.0-beta05` and `com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta05` is released. The commits included in this version can be found [here](https://android.googlesource.com/platform/frameworks/support/+log/0010058fd49253b84e622b2a74ec348e23f5af7f..c7ff6518ef8c45a3ce775f9a3dde4fbc77854e7a/jetifier).\n\n**New features**\n\n- Adds mappings for Navigation and WorkManager.\n- Jetifier can now skip libraries containing AndroidX references ([b/119135578](https://issuetracker.google.com/119135578))\n\n**Bug fixes**\n\n- Close stream when loading config in jetifier ([b/120277395](https://issuetracker.google.com/120277395)\n- Fix for incorrectly migrated Bundle key strings\n\n### Version 1.0.0-beta04\n\nFebruary 25, 2019\n\n`com.android.tools.build.jetifier 1.0.0-beta04` is released.\n\n**Bug fixes**\n\n- Updated version of `ConstraintLayout` to `1.1.3`\n- Fixed mapping of `android.support.v4.os.ResultReceiver` ([b/123651524](https://issuetracker.google.com/123651524))\n\n### Version 1.0.0-beta03\n\nFebruary 7, 2019\n\n`com.android.tools.build.jetifier 1.0.0-beta03` is released.\n\n**New features**\n\n- Jetifier now throws an exception if it finds a signature inside a jetified JAR. This can be disabled by using `-stripSignatures` which will remove all signature files. This does not apply to libraries that do not have any dependencies on old support library as jetifier skips these ([aosp/894356](https://android-review.googlesource.com/894356/))\n\n**Bug fixes**\n\n- Fixed jetification of android.support.customtabs so jetifier no longer migrates the constants ([aosp/875343](https://android-review.googlesource.com/875343/))\n- Fixed that jetifier always marked non-modified archives as modified if they contained a POM file ([aosp/876353](https://android-review.googlesource.com/876353/))"]]