Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Plugin Android Gradle 2.3.0 (Februari 2017)
2.3.3 (Juni 2017)
Ini adalah update minor yang menambahkan kompatibilitas dengan
Android Studio 2.3.3.
2.3.2 (Mei 2017)
Ini adalah update minor yang menambahkan kompatibilitas dengan
Android Studio
2.3.2.
2.3.1 (April 2017)
Ini adalah update minor untuk plugin Android 2.3.0 yang memperbaiki masalah
saat beberapa perangkat Android fisik tidak berfungsi optimal dengan
Instant Run (lihat
Masalah #235879).
- Dependensi:
|
Versi minimum |
Versi default |
Catatan |
Gradle |
3.3 |
3.3 |
Untuk mempelajari lebih lanjut, lihat mengupdate Gradle. |
SDK Build Tools |
25.0.0 |
25.0.0 |
Instal atau konfigurasi SDK Build Tools. |
- Baru:
-
- Menggunakan Gradle 3.3, yang menyertakan peningkatan performa dan
fitur baru. Lihat
Catatan rilis Gradle untuk detail selengkapnya.
- Cache build: menyimpan output tertentu yang dihasilkan plugin Android saat membangun project (seperti AAR yang tidak dipaketkan dan dependensi remote pre-dexed). Clean build Anda
jauh lebih cepat saat menggunakan cache karena sistem build dapat
menggunakan kembali file yang tersimpan dalam cache pada pembuatan berikutnya,
daripada membuatnya kembali. Project yang menggunakan plugin Android 2.3.0 dan yang lebih tinggi menggunakan build cache secara default. Untuk mempelajari lebih lanjut, baca
Meningkatkan Kecepatan Build dengan
Cache Build.
- Mencakup tugas
cleanBuildCache
yang
menghapus
cache build.
- Jika Anda menggunakan cache build versi eksperimental
(yang disertakan dalam plugin versi lama), Anda harus
mengupdate plugin ke
versi terbaru.
- Perubahan:
-
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-09-05 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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"]]