Build & Deployment
Build configurations, flavors, Android/iOS signing, app bundle, release process
1Which command creates a release build for Android?
Which command creates a release build for Android?
Resposta
The flutter build apk --release command generates a production-optimized APK. This build enables compilation optimizations like tree shaking and Dart code minification. For Play Store distribution, it is preferable to use flutter build appbundle --release which generates a more optimized Android App Bundle.
2What is an Android App Bundle (.aab) compared to an APK?
What is an Android App Bundle (.aab) compared to an APK?
Resposta
An Android App Bundle is a publishing format that allows Google Play to generate optimized APKs for each device configuration. The Play Store creates specific APKs based on CPU architecture, screen density, and language, reducing download size by an average of 15-20% compared to a universal APK.
3Where to configure Flutter app version for Android and iOS?
Where to configure Flutter app version for Android and iOS?
Resposta
The pubspec.yaml file centralizes the app version with the format version: 1.0.0+1 where 1.0.0 is the versionName (displayed to users) and +1 is the versionCode/buildNumber (internal number). Flutter automatically synchronizes these values to build.gradle for Android and Info.plist for iOS during build.
What are flavors used for in Flutter?
How to run a Flutter app with a specific flavor?
+13 perguntas de entrevista
Outros temas de entrevista Flutter
Dart Basics
Dart Language Essentials
Flutter Fundamentals
Widget Lifecycle
Local Storage
Application Lifecycle
Layouts & Constraints
ListView & GridView
Navigation & Routing
Basic State Management
Provider Pattern
Networking & HTTP
JSON Serialization
Local Database
Forms & Validation
Animations
Firebase Integration
Unit Testing
Widget Testing
Package Management
Memory & Performance
Streams & RxDart
Advanced State Management
Flutter Design Patterns
Performance Optimization
Platform Channels
Custom Painting
Flutter Application Architecture
Domine Flutter para sua proxima entrevista
Acesse todas as perguntas, flashcards, testes tecnicos, exercicios de code review e simuladores de entrevista.
Comece gratis