Android Studio 是 Android 开发的官方 IDE,Gradle 是它使用的构建系统。两者一起提供了编写、构建、测试和部署 Android 应用的环境和工具。了解它们是实际的基础知识。
Android Studio — IDE
ANDROID STUDIO = the official Android IDE (based on IntelliJ):
→ code editor (Kotlin/Java) with Android-aware assistance
→ LAYOUT editor (design UIs visually or in XML); Compose previews
→ EMULATOR (run apps on virtual devices); device manager
→ DEBUGGER, profilers (CPU, memory, network), Logcat (logs)
→ integrated build, run, test, and deployment tools
→ The all-in-one environment for Android development.
Gradle — 构建系统
GRADLE builds Android apps (compiles code, processes resources, packages the APK/AAB):
→ declarative build scripts (build.gradle / build.gradle.kts):
- declare DEPENDENCIES (libraries from Maven/Google repositories)
- configure build (SDK versions, build types, flavors, signing)
→ manages the whole build process; handles dependencies automatically
