コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Android Studio v1.5.0(2015 年 11 月)
修正と機能強化:
- Android Monitor に、新しい Memory Monitor 分析機能が追加されました。このモニターから取得した HPROF ファイルを表示すると、表示内容が明確になり、メモリリークなどの問題を迅速に特定できるようになりました。このモニターを使用するには、メイン ウィンドウの下部にある [Android Monitor] をクリックします。[Android Monitor] で、[Memory] タブをクリックします。モニターの実行中に、[Dump Java Heap] アイコンをクリックして、メイン ウィンドウの [Captures] をクリックし、表示するファイルをダブルクリックします。右側にある [Capture Analysis] をクリックします(Android Device Monitor と Android Monitor を同時に実行することはできません)。
- 新しいディープリンクとアプリリンクのサポートが追加されました。コードエディタにより、
AndroidManifest.xml
ファイル内にディープリンク用のインテント フィルタを自動的に作成できます。また、Java ファイルのアクティビティ内で、App Indexing API との統合に役立つコードを生成できます。ディープリンク テスト機能は、指定したディープリンクでアプリを起動できるかどうかを検証するのに役立ちます。ディープリンク起動オプションは、[Run/Debug Configurations] ダイアログの [General] タブで指定できます。また、Android Monitor の [logcat] 表示を使用して、アクティビティ内の App Indexing API 呼び出しをテストすることもできます。Android lint
ツールには、ディープリンクと App Indexing API に関連する特定の問題に対する警告が追加されています。
- コードエディタでカスタムビューをコード補完する際に短縮名を使用する機能が追加されました。
- 下位互換性を維持するため、Vector Asset Studio に多数の
VectorDrawable
要素のサポートが追加されました。Vector Asset Studio は、それらの要素を使用してベクター型ドローアブルを PNG ラスター画像に変換し、Android 4.4(API レベル 20)以下で使用できるようにします。
- Android TV と Android Auto 用の新しい
lint
チェックが追加されました。Android Studio で、いくつかのクイック フィックスとともに実用的なフィードバックをすぐに入手できます。たとえば、Android TV では、アクセス許可、サポート対象外のハードウェア、uses-feature
要素、バナーの欠落に関する問題がレポートされ、クイック フィックスが提供されます。Android Auto では、AndroidManifest.xml
ファイルから参照される記述子ファイル内の使用法が適切かどうかが検証され、MediaBrowserService
クラスのインテント フィルタがない場合はレポートされ、特定の音声操作に関する問題が特定されます。
- 非セキュアなブロードキャスト レシーバ、
SSLCertificateSocketFactory
および HostnameVerifier
クラスの使用、File.setReadable()
および File.setWritable()
呼び出しに対する新しい lint
チェックが追加されました。また、特に構成によって異なるリソースについては、無効なマニフェスト リソース検索も検出されます。
- 安定性に関するいくつかの問題が修正されました。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-09-04 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-04 UTC。"],[],[],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"]]