Android Gradle
Build system, dependencies, build types, flavors, signing
1What is Gradle in Android?
What is Gradle in Android?
คำตอบ
Gradle is Android's official build system. It automates code compilation, dependency management, packaging into APK/AAB, signing, and running tests. Gradle uses scripts (build.gradle) written in Groovy or Kotlin DSL. It's a flexible and powerful tool that replaces older systems like Ant or Maven.
2What's the difference between build.gradle (Project) and build.gradle (Module: app)?
What's the difference between build.gradle (Project) and build.gradle (Module: app)?
คำตอบ
build.gradle (Project): GLOBAL configuration for all project modules. Defines repositories (Maven, Google), Android Gradle plugin versions, common dependencies. build.gradle (Module: app): SPECIFIC configuration for app module. Defines applicationId, versionCode, minSdk, targetSdk, module dependencies. A project can have multiple modules, each with its build.gradle.
3What is applicationId in Android?
What is applicationId in Android?
คำตอบ
applicationId is the UNIQUE identifier of the app on Google Play Store and on device. Format: com.company.appname. Two apps with same applicationId cannot coexist. applicationId is defined in build.gradle: android { defaultConfig { applicationId 'com.example.app' } }. Don't confuse with code package name (can be different).
What's the difference between versionCode and versionName?
What is minSdk in Android?
+23 คำถามสัมภาษณ์
หัวข้อสัมภาษณ์ Android อื่นๆ
Android Fundamentals
Android UI and Resources
Android Lifecycle
Android Navigation
Android Data Management
Android Networking
Android Testing
Kotlin Language Essentials for Android
Room Database
Background Work
Jetpack Compose
Permissions and Device Features
Firebase for Android
Android MVVM Architecture
Advanced Android Networking
Kotlin Collections and Operators
Kotlin Coroutines and Flow
Android Dependency Injection
Android MVI Architecture
Android Clean Architecture
Android Compose Advanced
Android Performance and Monitoring
Android Security and Privacy
Android CI/CD and Release
Android UX and Form Factors
Android Testing Advanced
เชี่ยวชาญ Android สำหรับการสัมภาษณ์ครั้งถัดไป
เข้าถึงคำถามทั้งหมด flashcards แบบทดสอบเทคนิค แบบฝึกหัด code review และตัวจำลองสัมภาษณ์
เริ่มใช้ฟรี