จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ปลั๊กอิน Android Gradle 2.3.0 (กุมภาพันธ์ 2017)
2.3.3 (มิถุนายน 2017)
การอัปเดตนี้เป็นการอัปเดตเล็กน้อยที่เพิ่มความเข้ากันได้กับ
Android Studio 2.3.3
2.3.2 (พฤษภาคม 2017)
การอัปเดตนี้เป็นการอัปเดตเล็กน้อยที่เพิ่มความเข้ากันได้กับ
Android Studio
2.3.2
2.3.1 (เมษายน 2017)
การอัปเดตนี้เป็นการอัปเดตเล็กน้อยสำหรับปลั๊กอิน Android 2.3.0 ซึ่งแก้ไขปัญหา
ที่อุปกรณ์ Android จริงบางเครื่องทำงานไม่ถูกต้องกับ
Instant Run (ดู
ปัญหา #235879)
- การขึ้นต่อกัน
|
เวอร์ชันขั้นต่ำ |
เวอร์ชันเริ่มต้น |
หมายเหตุ |
Gradle |
3.3 |
3.3 |
ดูข้อมูลเพิ่มเติมได้ที่การอัปเดต Gradle |
เครื่องมือสร้าง SDK |
25.0.0 |
25.0.0 |
ติดตั้งหรือกำหนดค่าเครื่องมือสร้าง SDK |
- ใหม่:
-
- ใช้ Gradle 3.3 ซึ่งมีการปรับปรุงประสิทธิภาพและ
ฟีเจอร์ใหม่ ดูรายละเอียดเพิ่มเติมได้ที่
บันทึกประจำรุ่นของ Gradle
- บิลด์แคช: จัดเก็บเอาต์พุตบางอย่างที่ปลั๊กอิน Android
สร้างขึ้นเมื่อบิลด์โปรเจ็กต์ (เช่น AAR ที่ไม่ได้แพ็ก
และการอ้างอิงระยะไกลที่ผ่านการ Dex มาก่อน) บิลด์ที่สะอาดจะ
เร็วกว่ามากขณะใช้แคช เนื่องจากระบบบิลด์สามารถ
นำไฟล์ที่แคชเหล่านั้นกลับมาใช้ใหม่ได้ในระหว่างบิลด์ต่อๆ ไป
แทนที่จะสร้างขึ้นใหม่ โปรเจ็กต์ที่ใช้ปลั๊กอิน Android 2.3.0 ขึ้นไปจะใช้
แคชของบิลด์โดยค่าเริ่มต้น ดูข้อมูลเพิ่มเติมได้ที่
ปรับปรุงความเร็วในการบิลด์ด้วย
แคชบิลด์
- รวมถึง
cleanBuildCache
งานที่ล้างแคชของบิวด์
- หากคุณใช้แคชบิลด์เวอร์ชันทดลอง
(รวมอยู่ในปลั๊กอินเวอร์ชันก่อนหน้า) คุณควรอัปเดตปลั๊กอินเป็น
เวอร์ชันล่าสุด
- การเปลี่ยนแปลง:
-
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-09-05 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-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"]]