با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
Android Studio نسخه 1.5.0 (نوامبر 2015)
اصلاحات و بهبودها:
- قابلیت های جدید تجزیه و تحلیل مانیتور حافظه به مانیتور اندروید اضافه شد. هنگامی که یک فایل HPROF گرفته شده از این مانیتور را مشاهده می کنید، نمایشگر اکنون مفیدتر است تا بتوانید سریعتر مشکلات را پیدا کنید، مانند نشت حافظه. برای استفاده از این مانیتور، روی Android Monitor در پایین پنجره اصلی کلیک کنید. در مانیتور اندروید، روی تب Memory کلیک کنید. در حالی که مانیتور در حال اجرا است، روی نماد Dump Java Heap کلیک کنید و سپس روی Captures در پنجره اصلی کلیک کنید و برای مشاهده فایل روی آن دوبار کلیک کنید. روی Capture Analysis در سمت راست کلیک کنید. (نمایشگر دستگاه اندروید نمی تواند همزمان با مانیتور اندروید اجرا شود.)
- پیوند عمیق جدید و پشتیبانی از پیوند برنامه اضافه شد. ویرایشگر کد می تواند به طور خودکار یک فیلتر هدف برای پیوند عمیق در فایل
AndroidManifest.xml
ایجاد کند. همچنین میتواند کد ایجاد کند تا به شما در ادغام با App Indexing API در یک فعالیت در یک فایل جاوا کمک کند. یک ویژگی تست پیوند عمیق به شما کمک می کند تا بررسی کنید که یک پیوند عمیق مشخص شده می تواند یک برنامه را راه اندازی کند. در برگه عمومی از گفتگوی Run/Debug Configurations ، می توانید گزینه های راه اندازی پیوند عمیق را مشخص کنید. همچنین میتوانید تماسهای API Indexing App را در یک فعالیت با استفاده از نمایشگر logcat Android Monitor آزمایش کنید. ابزار Android lint
اکنون هشدارهایی برای مشکلات خاص مربوط به پیوندهای عمیق و API Indexing App دارد. - قابلیت استفاده از نامهای کوتاه هنگام تکمیل کد نمایشهای سفارشی در ویرایشگر کد اضافه شده است.
- پشتیبانی از عناصر
VectorDrawable
بیشتر به Vector Asset Studio برای سازگاری با عقب. Vector Asset Studio میتواند از این عناصر برای تبدیل ترسیمهای برداری به تصاویر شطرنجی PNG برای استفاده در Android 4.4 (سطح API 20) و پایینتر استفاده کند. - بررسیهای
lint
جدید برای Android TV و Android Auto اضافه شد تا به شما بازخورد فوری و عملی را در Android Studio ارائه دهد، همراه با چندین رفع سریع. به عنوان مثال، برای Android TV، میتواند مجوزها، سختافزار پشتیبانینشده، عنصر uses-feature
و مشکلات بنر از دست رفته را گزارش دهد و راهحلی سریع ارائه دهد. برای Android Auto، میتواند استفاده صحیح در فایل توصیفگر ارجاعشده از فایل AndroidManifest.xml
شما را تأیید کند، اگر فیلتری برای کلاس MediaBrowserService
وجود نداشته باشد، گزارش دهد، و برخی مشکلات مربوط به عملکرد صوتی را شناسایی کند. - بررسیهای
lint
جدید برای گیرندههای پخش ناامن، استفادههای کلاس SSLCertificateSocketFactory
و HostnameVerifier
، و فراخوانیهای File.setReadable()
و File.setWritable()
اضافه شد. همچنین جستجوهای منابع مانیفست نامعتبر را شناسایی می کند، به ویژه برای منابعی که بر اساس پیکربندی متفاوت هستند. - تعدادی از مشکلات پایداری را برطرف کرد.
محتوا و نمونه کدها در این صفحه مشمول پروانههای توصیفشده در پروانه محتوا هستند. جاوا و 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 v1.5.0 (November 2015)\n\nFixes and enhancements:\n\n- Added new Memory Monitor analysis abilities to Android Monitor. When you view an HPROF file captured from this monitor, the display is now more helpful so you can more quickly locate problems, such as memory leaks. To use this monitor, click **Android Monitor** at the bottom of the main window. In Android Monitor, click the **Memory** tab. While the monitor is running, click the **Dump Java Heap** icon, and then click **Captures** in the main window and double-click the file to view it. Click *Capture Analysis* on the right. (The Android Device Monitor can't be running at the same time as Android Monitor.)\n- Added new deep link and app link support. The Code Editor can automatically create an intent filter for deep linking in the `AndroidManifest.xml` file. It can also generate code to help you integrate with the [App Indexing API](http://developers.google.com/app-indexing/android/publish) in an activity in a Java file. A deep link testing feature helps you verify that a specified deep link can launch an app. In the **General** tab of the *Run/Debug Configurations* dialog, you can specify deep link launch options. You can also test App Indexing API calls in an activity by using the Android Monitor **logcat** display. The Android `lint` tool now has warnings for certain issues involving deep links and the App Indexing API.\n- Added the ability to use short names when code-completing custom views in the Code Editor.\n- Added support for more [VectorDrawable](/reference/android/graphics/drawable/VectorDrawable) elements to [Vector Asset Studio](/tools/help/vector-asset-studio) for backward-compatibility. Vector Asset Studio can use these elements to convert vector drawables into PNG raster images to use with Android 4.4 (API level 20) and lower.\n- Added new `lint` checks for Android TV and Android Auto to give you immediate, actionable feedback in Android Studio, along with several quick fixes. For example, for Android TV, it can report and provide a quick fix for permissions, unsupported hardware, `uses-feature` element, and missing banner issues. For Android Auto, it can validate the correct usage in the descriptor file referred from your `AndroidManifest.xml` file, report if there isn't an intent filter for the `MediaBrowserService` class, and identify certain voice actions issues.\n- Added new `lint` checks for insecure broadcast receivers, `SSLCertificateSocketFactory` and `HostnameVerifier` class uses, and `File.setReadable()` and `File.setWritable()` calls. It also detects invalid manifest resource lookups, especially for resources that vary by configuration.\n- Fixed a number of stability issues.\n\n\u003cbr /\u003e"]]