Android Studio for Platform の概要
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Android Studio for Platform(ASfP)は、Android プラットフォーム開発用の公式の統合開発環境(IDE)です。IntelliJ IDEA の強力なコードエディタとデベロッパー ツールをベースとした Android Studio for Platform には、Android オープンソース プロジェクト(AOSP)でビルドする際の生産性向上に役立つ次のような多くの機能が用意されています。
- Soong ベースのビルドシステム
- 豊富な機能を備えた高速なエミュレータ
- Java、Kotlin、C++ のデバッガ
- テストツール
- C++ と NDK のサポート
このページでは、Android Studio for Platform の基本的な機能を紹介します。最新の変更の概要については、Android Studio for Platform リリースノートをご覧ください。
プロジェクトの構造
Android Studio for Platform のプロジェクトには、ソースコードやアセットから、テストコード、ビルド構成にいたるまで、AOSP コードベースのワークスペースを定義するものがすべて含まれています。詳しくは、プロジェクト構造をご覧ください。
Soong ビルドシステム
Soong は、Android プラットフォーム デベロッパーが最も広く使用しているビルドシステムです。合計 3 つあります。
Android Studio for Platform は、Soong ビルドシステムを使用して Android をビルドします。Soong は、Kati GNU Make クローンツールと Ninja ビルドシステム コンポーネントを利用して、Android のビルドを高速化します。
Soong ビルドファイルはブループリント ファイルと呼ばれ、Android.bp
という名前が付きます。
Android.bp
ファイル形式の詳細については、Android.bp をご覧ください。
Android Studio for Platform のデバッガを使用すると、デバイスの選択、Java と C++ でのブレークポイントの設定、実行時の変数と式の検査を行うことができます。デバッガの詳細を確認する。
Android Studio for Platform は、ローカル(デバイス)テストの実行(atest
経由)をサポートしています。テストツールの詳細を確認する。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-01-30 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-01-30 UTC。"],[],[],null,["# Meet Android Studio for Platform\n\nAndroid Studio for Platform (ASfP) is the official Integrated Development\nEnvironment (IDE) for Android platform development. Based on the powerful\ncode editor and developer tools from\n[IntelliJ IDEA](https://www.jetbrains.com/idea/), Android\nStudio for Platform offers even more features that enhance your\nproductivity when building on the Android Open Source Project (AOSP), such as:\n\n- Soong-based build system\n- A fast and feature-rich emulator\n- A debugger for Java, Kotlin, and C++\n- Testing tools\n- C++ and NDK support\n\nThis page provides an introduction to basic Android Studio for\nPlatform features. For a summary of the latest changes, see the\n[Android Studio for Platform release notes](/studio/platform/releases).\n\nProject structure\n-----------------\n\nA project in Android Studio for Platform contains everything that\ndefines your workspace for your AOSP codebase, from source code and\nassets to test code and build configurations. Learn more about the\n[project structure](/studio/platform/projects).\n\nSoong build system\n------------------\n\nSoong is the most widely used build system for Android platform\ndevelopers. There are altogether three:\n\nAndroid Studio for Platform uses the *Soong* build system to build\nAndroid. Soong leverages the\n[kati](https://github.com/google/kati/blob/master/README.md) GNU\nMake clone tool and [Ninja](https://ninja-build.org/) build system\ncomponent to speed up builds of Android.\n\nSoong build files are called *blueprint files* and are named `Android.bp`.\n\nFor a detailed description of the `Android.bp` file format, see\n[Android.bp](https://source.android.com/docs/setup/reference/androidbp).\n\nDebugging tools\n---------------\n\nAndroid Studio for Platform's debugger lets you select a device, set\nbreakpoints in Java and C++, and examine variables and expressions at\nruntime. Learn more about the\n[debugger](/studio/platform/debug).\n\nTesting tools\n-------------\n\nAndroid Studio for Platform supports running local (device) tests (via `atest`).\nLearn more about the [testing](/studio/platform/test) tools."]]