با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
Android Studio 2.1 (آوریل 2016)
تغییرات اولیه در این بهروزرسانی، از توسعه با پیشنمایش Android N پشتیبانی میکند.
<div class="android-updates-box">
<p><b>2.1.3 (August 2016)</b>
</p>
<p>
This update adds compatibility with Gradle 2.14.1, which includes performance
improvements, new features, and an important <a href=
"https://docs.gradle.org/2.14/release-notes#local-privilege-escalation-when-using-the-daemon"
class="external-link">security fix</a>. For more details, see the <a href=
"https://docs.gradle.org/2.14.1/release-notes" class="external-link">Gradle
release notes</a>.
</p>
<p>
By default, new projects in Android Studio 2.1.3 use Gradle 2.14.1. For
existing projects, the IDE prompts you to upgrade to Gradle 2.14.1 and
<a href="/studio/releases/gradle-plugin.html#revisions">Android plugin
for Gradle 2.1.3</a>, which is required when using Gradle 2.14.1 and
higher.
</p>
2.1.2 (ژوئن 2016)
این به روز رسانی شامل تعدادی تغییرات کوچک و رفع اشکال است:
- بهروزرسانیهای اجرای فوری و رفع اشکال.
- بهبود عملکرد LLDB و اعلانهای خرابی.
- یک رگرسیون در بهروزرسانی امنیتی Android Studio 2.1.1 که باعث شکست
git rebase
شده بود، برطرف شد.
2.1.1 (مه 2016)
به روز رسانی انتشار امنیتی.
پلتفرم Android N پشتیبانی از ویژگی های زبان جاوا 8 را اضافه می کند که به یک کامپایلر آزمایشی جدید به نام Jack نیاز دارد. آخرین نسخه جک در حال حاضر فقط در اندروید استودیو 2.1 پشتیبانی می شود. بنابراین اگر می خواهید از ویژگی های زبان جاوا 8 استفاده کنید، باید از اندروید استودیو 2.1 برای ساخت برنامه خود استفاده کنید.
توجه: وقتی کامپایلر جک را فعال میکنید، اجرای فوری غیرفعال میشود، زیرا در حال حاضر سازگار نیستند.
اگرچه Android Studio 2.1 اکنون پایدار است، کامپایلر Jack هنوز آزمایشی است و باید آن را با ویژگی jackOptions
در فایل build.gradle
خود فعال کنید.
به غیر از تغییرات پشتیبانی از N Preview، Android Studio 2.1 شامل رفع اشکال جزئی و پیشرفتهای زیر میشود:
- هنگامی که از یک دستگاه N یا شبیه ساز استفاده می کنید و حالت اشکال زدایی بومی (در تب Debugger برای پیکربندی run/debug) خود را انتخاب می کنید، دیباگر C++-aware به طور پیش فرض فعال است.
برای سایر پیشرفتهای ساخت، از جمله کامپایل تدریجی جاوا و dexing-in-process، افزونه اندروید خود را برای Gradle به نسخه 2.1.0 بهروزرسانی کنید.
محتوا و نمونه کدها در این صفحه مشمول پروانههای توصیفشده در پروانه محتوا هستند. جاوا و OpenJDK علامتهای تجاری یا علامتهای تجاری ثبتشده Oracle و/یا وابستههای آن هستند.
تاریخ آخرین بهروزرسانی 2025-09-03 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-03 بهوقت ساعت هماهنگ جهانی."],[],[],null,["\u003cbr /\u003e\n\nAndroid Studio 2.1 (April 2016)\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nThe primary changes in this update provide support for development with the\nAndroid N Preview.\n\n\u003cbr /\u003e\n\n \u003cdiv class=\"android-updates-box\"\u003e\n \u003cp\u003e\u003cb\u003e2.1.3 (August 2016)\u003c/b\u003e\n \u003c/p\u003e\n \u003cp\u003e\n This update adds compatibility with Gradle 2.14.1, which includes performance\n improvements, new features, and an important \u003ca href=\n \"https://docs.gradle.org/2.14/release-notes#local-privilege-escalation-when-using-the-daemon\"\n class=\"external-link\"\u003esecurity fix\u003c/a\u003e. For more details, see the \u003ca href=\n \"https://docs.gradle.org/2.14.1/release-notes\" class=\"external-link\"\u003eGradle\n release notes\u003c/a\u003e.\n \u003c/p\u003e\n \u003cp\u003e\n By default, new projects in Android Studio 2.1.3 use Gradle 2.14.1. For\n existing projects, the IDE prompts you to upgrade to Gradle 2.14.1 and\n \u003ca href=\"/studio/releases/gradle-plugin.html#revisions\"\u003eAndroid plugin\n for Gradle 2.1.3\u003c/a\u003e, which is required when using Gradle 2.14.1 and\n higher.\n \u003c/p\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n**2.1.2 (June 2016)**\n\n\nThis update includes a number of small changes and bug fixes:\n\n- [Instant Run](/studio/run#instant-run) updates and bug fixes.\n- Improvements to LLDB performance and crash notifications.\n- Fixed a regression in the Android Studio 2.1.1 security update that caused `git rebase` to fail.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n**2.1.1 (May 2016)**\n\nSecurity release update.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nThe Android N platform adds support for [Java 8 language features](/studio/write/java8-support), which\nrequire a new experimental compiler called Jack. The latest version of Jack is\ncurrently supported only in Android Studio 2.1. So if you want to use Java 8\nlanguage features, you need to use Android Studio 2.1 to build your app.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n**Note:** [Instant Run](/tools/building/building-studio#instant-run)\nis disabled when you enable the Jack compiler because they currently are not\ncompatible.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nAlthough Android Studio 2.1 is now stable, the Jack compiler is still\nexperimental and you must enable it with the `jackOptions`\nproperty in your `build.gradle` file.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nOther than the changes to support the N Preview, Android Studio 2.1\nincludes minor bug fixes and the following enhancements:\n\n- The Java-aware C++ debugger is now enabled by default when you're using an N device or emulator and select **Native** debugger mode (in the **Debugger** tab for your run/debug configuration).\n\nFor other build enhancements, including incremental Java compilation\nand dexing-in-process,update your [Android plugin for\nGradle](/tools/revisions/gradle-plugin) to version 2.1.0.\n\n\u003cbr /\u003e"]]