Android Studio
Workflow
- Setup Workspace
- Write app.
- Build & Run app.
- Debug, Profile, Test.
- Publish
Android X
AndroidX libs are improved replacements of the Android Support libraries.
Modules
- Android app module
- Feature module
- Library module
- Google Cloud module
Directory Structure
module-name/
build/
- Build outputs.libs/
- private libraries (jar etc.)src/
- source code and resources.androidTest/
- source code for tests (android instrument)main/
- main source directory.AndroidManifest.xml
- Application configuration.java/
- java source files.jni/
- native code using JNI interface. See - https://developer.android.com/ndkgen/
- Files generated by Android Studio.res/
- Application resources. (drawables, layout, UI)assets/
- Raw files compiled into the apk.test/
- source code for tests (desktop jvm)build.gradle
(module) - Module-specific build configurations.build.gradle
(project) - Build configuration that apply to all modules.
Project Modules
Properties
- Versions of the SDK and build tools to use.Signing
- The certificate to use to sign your appFlavors
- Flavor specifies a set of configuration setting.Build Types
- Create and modify build configurations.Dependencies
- Lists the library, file, and module dependencies for the module.