This guide provides instructions for quickly setting up and running the OversleepGuard project using Android Studio.
First, clone the project from the Git repository to your local machine.
git clone https://github.com/okitamisan01/OversleepGuard.git- Launch Android Studio.
- From the welcome screen, select "Open" or "Open an Existing Project."
- Navigate to and select the root directory of the cloned project (the
OversleepGuard/folder). Click "OK."- Crucial Note: Ensure you select the folder that contains the configuration files like
build.gradle.ktsandsettings.gradle.kts.
- Crucial Note: Ensure you select the folder that contains the configuration files like
Upon opening the project, Android Studio will automatically attempt a Gradle sync to resolve dependencies and apply build settings.
- Wait until you see the message "Gradle sync finished."
- If the sync fails or does not start, manually trigger it by clicking the "Sync Project with Gradle Files" button (often shaped like an elephant) in the toolbar.
Once the Gradle sync is successful, you are ready to build and launch the app.