- Android Studio Narwhal 4 Feature Drop | 2025.1.4
- VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
- Gradle 9.1.0 and up
- Android Gradle Plugin 8.8.0-alpha09 and up
- app: Main sample application module
Follow these steps to set up your development environment:
- Install Git: Make sure git is installed in your system.
- Install Android Studio: Download and install a stable version of Android Studio.
- Clone the Repository:
- Preferably use SSH key authentication for enhanced security.
- Project Setup in Android Studio:
- Navigate to
File -> Open, select the directory where the project was cloned, and clickOK.
- Navigate to
- Synchronize Gradle: Wait for Gradle to synchronize all the project dependencies and build configurations.
- Device Setup for Development:
- For physical device development and debugging, enable device development mode and familiarize yourself with ADB by checking out this guide.
- For virtual device development and debugging, set up a virtual device as per instructions here. Choose a
recommendeddevice image and avoidpreviewimages.
- Build and Run Application: Follow the steps described here to build and run the application.
- Branching Methodology: Use the
git-flowbranching methodology. Detailed information is available here and here. - Commit Messages: Follow these to craft clear and informative commit messages. If applicable, prefix your commit message with
[xxx], wherexxxis the identifier (number) of the related ticket, work item, or task. For example,[211872] Update dependencies. - Feature Branch Naming: Name your feature branches starting with
feature/xxx-yyy, wherexxxis the identifier (number) of the related ticket, work item, or task (if applicable), andyyyis the short description. Example:feature/211872-update-dependencies. Use hyphen-as a word delimiter. - Pull Request Naming: Name your pull requests starting with
[xxx], wherexxxis the identifier (number) of the related ticket, work item, or task (if applicable). Example:[211872] Update dependencies. - Squashing Commits: Before merging a pull request, squash your commits to clean up the history and streamline the integration of changes.
- Line Breaks: Ensure every saved file ends with a line break. Navigate to
File -> Settings -> Editor -> General -> On Saveand check theEnsure every saved file ends with a line breakoption.