# ビルドとデプロイ (Flutter) > ビルド構成、flavors、Android/iOS署名、app bundle、リリースプロセス - 16 面接問題 - Mid-Level - [面接問題: Flutter](https://sharpskill.dev/ja/technologies/flutter/interview-questions.md) ## 1. Android のリリースビルドを作成するコマンドはどれですか? **回答** flutter build apk --release コマンドは本番向けに最適化された APK を生成します。このビルドでは tree shaking や Dart コードの minification などのコンパイル最適化が有効になります。Play Store での配布には、より最適化された Android App Bundle を生成する flutter build appbundle --release を使用することが推奨されます。 ## 2. APK と比較して Android App Bundle (.aab) とは何ですか? **回答** Android App Bundle は、Google Play が各デバイス構成向けに最適化された APK を生成できる公開フォーマットです。Play Store は CPU アーキテクチャ、画面密度、言語に応じて専用の APK を作成し、ユニバーサル APK と比較してダウンロードサイズを平均 15〜20% 削減します。 ## 3. Android と iOS の Flutter アプリのバージョンはどこで設定しますか? **回答** pubspec.yaml ファイルは version: 1.0.0+1 という形式でアプリのバージョンを一元管理します。1.0.0 は versionName(ユーザーに表示される)、+1 は versionCode/buildNumber(内部番号)です。Flutter はビルド時にこれらの値を Android 用の build.gradle と iOS 用の Info.plist に自動的に同期します。 ## さらに13問利用可能 - Flutter の flavors は何のために使いますか? - 特定の flavor で Flutter アプリを実行するにはどうすればよいですか? 無料で登録: https://sharpskill.dev/ja/login ## その他のFlutter面接トピック - [Dartの基礎](https://sharpskill.dev/ja/technologies/flutter/interview-questions/dart-basics.md): 25問, Junior - [Dart言語の基礎](https://sharpskill.dev/ja/technologies/flutter/interview-questions/dart-language-essentials.md): 15問, Junior - [Flutter の基礎](https://sharpskill.dev/ja/technologies/flutter/interview-questions/flutter-fundamentals.md): 18問, Junior - [ウィジェットのライフサイクル](https://sharpskill.dev/ja/technologies/flutter/interview-questions/widget-lifecycle.md): 20問, Junior - [ローカルストレージ](https://sharpskill.dev/ja/technologies/flutter/interview-questions/local-storage.md): 20問, Junior - [アプリケーションのライフサイクル](https://sharpskill.dev/ja/technologies/flutter/interview-questions/app-lifecycle.md): 20問, Junior - [Layouts & Constraints](https://sharpskill.dev/ja/technologies/flutter/interview-questions/layouts-constraints.md): 24問, Mid-Level - [ListView & GridView](https://sharpskill.dev/ja/technologies/flutter/interview-questions/listview-gridview.md): 25問, Mid-Level - [ナビゲーションとルーティング](https://sharpskill.dev/ja/technologies/flutter/interview-questions/navigation-routing.md): 22問, Mid-Level - [基本的な状態管理](https://sharpskill.dev/ja/technologies/flutter/interview-questions/state-management-basics.md): 22問, Mid-Level - [Provider パターン](https://sharpskill.dev/ja/technologies/flutter/interview-questions/provider-pattern.md): 18問, Mid-Level - [Networking & HTTP](https://sharpskill.dev/ja/technologies/flutter/interview-questions/networking-http.md): 20問, Mid-Level - [JSONシリアライゼーション](https://sharpskill.dev/ja/technologies/flutter/interview-questions/json-serialization.md): 20問, Mid-Level - [ローカルデータベース](https://sharpskill.dev/ja/technologies/flutter/interview-questions/local-database.md): 22問, Mid-Level - [フォームとバリデーション](https://sharpskill.dev/ja/technologies/flutter/interview-questions/forms-validation.md): 20問, Mid-Level - [アニメーション](https://sharpskill.dev/ja/technologies/flutter/interview-questions/animations.md): 20問, Mid-Level - [Firebase 統合](https://sharpskill.dev/ja/technologies/flutter/interview-questions/firebase-integration.md): 18問, Mid-Level - [ユニットテスト](https://sharpskill.dev/ja/technologies/flutter/interview-questions/unit-testing.md): 20問, Mid-Level - [ウィジェットテスト](https://sharpskill.dev/ja/technologies/flutter/interview-questions/widget-testing.md): 18問, Mid-Level - [パッケージ管理](https://sharpskill.dev/ja/technologies/flutter/interview-questions/package-management.md): 16問, Mid-Level - [メモリとパフォーマンス](https://sharpskill.dev/ja/technologies/flutter/interview-questions/memory-performance.md): 22問, Senior - [Streams & RxDart](https://sharpskill.dev/ja/technologies/flutter/interview-questions/streams-rxdart.md): 24問, Senior - [高度なState Management](https://sharpskill.dev/ja/technologies/flutter/interview-questions/advanced-state-management.md): 26問, Senior - [Flutter Design Patterns](https://sharpskill.dev/ja/technologies/flutter/interview-questions/flutter-design-patterns.md): 24問, Senior - [パフォーマンス最適化](https://sharpskill.dev/ja/technologies/flutter/interview-questions/performance-optimization.md): 26問, Senior - [Platform Channels](https://sharpskill.dev/ja/technologies/flutter/interview-questions/platform-channels.md): 20問, Senior - [Custom Painting](https://sharpskill.dev/ja/technologies/flutter/interview-questions/custom-painting.md): 22問, Senior - [Flutterアプリケーションアーキテクチャ](https://sharpskill.dev/ja/technologies/flutter/interview-questions/flutter-app-architecture.md): 22問, Senior --- Source: SharpSkill (https://sharpskill.dev), tech interview preparation for your real stack. HTML version of this page: https://sharpskill.dev/ja/technologies/flutter/interview-questions/build-deployment