# Android アプリケーションのアプリケーションエントリーポイントの設定

> Change the application entry point that your Android application uses.

アプリケーションのエントリーポイントは、[Android Player Settings](/engine/6000.0/manual/platform-specific/android/getting-started/class-player-settings.md) で制御します。アプリケーションの開発ビルドに複数のアプリケーションエントリーポイントを設定することができ、異なるアプリケーションエントリー間で機能やパフォーマンスをすばやく比較できます。ただし、公開しようとするリリースビルドのアプリケーションエントリーポイントは 1 つだけ選択する必要があります。複数を選択すると、Unity に警告メッセージが表示されます。

アプリケーションに使用するアプリケーションエントリーポイントを設定するには、次の手順に従います。

1. [Android Player Settings](/engine/6000.0/manual/platform-specific/android/getting-started/class-player-settings.md) を開きます。
2. **Other Settings** > **Configuration** > **Application Entry Point** の順に移動します。
3. **Application Entry Point** セクションで、使用するアプリケーションエントリーポイントを選択します。

複数のアプリケーションエントリーポイントを選択し、アプリケーションをビルドまたはエクスポートすると、Unity は [Android アプリケーションマニフェスト](/engine/6000.0/manual/platform-specific/android/introducing/manifest.md)に、アプリケーションエントリーポイントごとに 1 つずつ、複数の `activity` エントリーを生成します。Android Studio でプロジェクトを開く場合は、[Run/Debug Configurations ダイアログ](https://developer.android.com/studio/run/rundebugconfig#opening)で実行/デバッグするアプリケーションエントリーポイントを指定できます。ビルドしたアプリケーションをデバイスにインストールすると、アプリケーションエントリーポイントの数と同じ数のアプリケーションアイコンが表示されます。

## 追加リソース##additional-resources

* [アクティビティアプリケーションのエントリーポイント](/engine/6000.0/manual/platform-specific/android/developing/application-entries/activity.md)
* [GameActivity アプリケーションのエントリーポイント](/engine/6000.0/manual/platform-specific/android/developing/application-entries/game-activity.md)
