Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trình bổ trợ Android cho Gradle 2.3.0 (tháng 2 năm 2017)
2.3.3 (tháng 6 năm 2017)
Đây là một bản cập nhật nhỏ bổ sung khả năng tương thích với Android Studio 2.3.3.
Phiên bản 2.3.2 (tháng 5 năm 2017)
Đây là một bản cập nhật nhỏ bổ sung khả năng tương thích với Android Studio 2.3.2.
Phiên bản 2.3.1 (tháng 4 năm 2017)
Đây là bản cập nhật nhỏ Plugin Android 2.3.0 sửa sự cố một số thiết bị Android thực tế không hoạt động ổn định khi dùng Tính năng Chạy tức thì (xem Vấn đề #235879).
- Phần phụ thuộc:
|
Phiên bản tối thiểu |
Phiên bản mặc định |
Lưu ý |
Gradle |
3.3 |
3.3 |
Để tìm hiểu thêm, hãy xem phần cập nhật Gradle. |
Công cụ tạo SDK |
25.0.0 |
25.0.0 |
Cài đặt hoặc định cấu hình Công cụ tạo SDK. |
- Mới:
-
- Sử dụng Gradle 3.3, trong đó có các điểm cải thiện hiệu suất và tính năng mới. Để biết thêm thông tin chi tiết, hãy xem ghi chú phát hành của Gradle.
- Bộ nhớ đệm bản dựng: lưu trữ đầu ra tạo bởi trình bổ trợ Android khi tạo dự án (chẳng hạn như các tệp AAR (đề xuất được tự động áp dụng) chưa đóng gói và các phần phụ thuộc từ xa đã được chuyển sang định dạng .dex). Hệ thống bản dựng chỉ cần sử dụng những tệp đã lưu vào bộ nhớ đệm trong các lần tiếp theo thay vì tạo lại. Do đó, trong lúc sử dụng bộ nhớ đệm, bản dựng sạch sẽ hoạt động nhanh hơn. Các dự án dùng Trình bổ trợ Android 2.3.0 trở lên dùng bộ nhớ đệm bản dựng theo mặc định. Để tìm hiểu thêm, hãy đọc bài viết Cải thiện tốc độ bản dựng bằng bộ nhớ đệm.
- Các thay đổi:
-
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2025-09-05 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-09-05 UTC."],[],[],null,["\u003cbr /\u003e\n\nAndroid Gradle Plugin 2.3.0 (February 2017) \n**2.3.3 (June 2017)**\n\nThis is a minor update that adds compatibility with\n[Android Studio 2.3.3](/studio/releases#Revisions).\n\n**2.3.2 (May 2017)**\n\nThis is a minor update that adds compatibility with\n[Android Studio\n2.3.2](/studio/releases#Revisions).\n\n**2.3.1 (April 2017)**\n\nThis is a minor update to Android plugin 2.3.0 that fixes an issue\nwhere some physical Android devices did not work properly with\n[Instant Run](/studio/run#instant-run) (see\n[Issue #235879](https://code.google.com/p/android/issues/detail?id=235879)).\n\nDependencies:\nNew:\n:\n - Uses Gradle 3.3, which includes performance improvements and new features. For more details, see the [Gradle release notes](https://docs.gradle.org/3.3/release-notes).\n - **Build cache** : stores certain outputs that the Android plugin generates when building your project (such as unpackaged AARs and pre-dexed remote dependencies). Your clean builds are much faster while using the cache because the build system can simply reuse those cached files during subsequent builds, instead of recreating them. Projects using Android plugin 2.3.0 and higher use the build cache by default. To learn more, read [Improve Build Speed with\n Build Cache](/studio/build/build-cache).\n - Includes a `cleanBuildCache` task that [clears\n the build cache](/studio/build/build-cache#clear_the_build_cache).\n - If you are using the experimental version of build cache (included in earlier versions of the plugin), you should [update your plugin](#updating-plugin) to the latest version.\n\nChanges:\n:\n - Supports changes to Instant Run included in [Android Studio 2.3](/studio/releases).\n - Configuration times for very large projects should be significantly faster.\n - Fixed issues with auto-downloading for the [constraint layout\n library](/training/constraint-layout).\n - Plugin now uses [ProGuard version 5.3.2](https://www.guardsquare.com/en/proguard/manual/versions).\n - Includes many fixes for [reported bugs](https://code.google.com/p/android/issues/list?can=1&q=Component%3DTools++Subcomponent%3DTools-gradle%2CTools-build%2CTools-instantrun%2CTools-cpp-build+Target%3D2.3+status%3AFutureRelease%2CReleased+&sort=priority+-status&colspec=ID+Status+Priority+Owner+Summary+Stars+Reporter+Opened&cells=tiles). Please continue to [file bug reports](/studio/report-bugs) when you encounter issues.\n\n\u003cbr /\u003e"]]