קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
Android Gradle Plugin 2.3.0 (פברואר 2017)
- תלויות:
|
גרסת מינימום |
גרסת ברירת המחדל |
הערות |
Gradle |
3.3 |
3.3 |
יש מידע נוסף במאמר בנושא עדכון Gradle. |
SDK Build Tools |
25.0.0 |
25.0.0 |
התקנה או הגדרה של SDK Build Tools. |
- המינוי החדש:
-
- משתמש ב-Gradle 3.3, שכולל שיפורים בביצועים ותכונות חדשות. פרטים נוספים זמינים בהערות המוצר של Gradle.
- מטמון של build: מאחסן פלטים מסוימים שתוסף Android יוצר כשמבצעים build לפרויקט (כמו קובצי AAR לא ארוזים ותלות מרחוק שעברו dexing מראש). הגרסאות build הנקיות שלכם מהירות הרבה יותר כשמשתמשים במטמון, כי מערכת ה-build יכולה פשוט לעשות שימוש חוזר בקבצים האלה ששמורים במטמון במהלך גרסאות build עוקבות, במקום ליצור אותם מחדש. בפרויקטים שמשתמשים בתוסף Android בגרסה 2.3.0 ומעלה, נעשה שימוש במטמון של הבנייה כברירת מחדל. מידע נוסף מופיע במאמר שיפור מהירות הבנייה באמצעות מטמון הבנייה.
- שינויים:
-
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. 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"]]