iSoron / uhabits

Loop Habit Tracker, a mobile app for creating and maintaining long-term positive habits
GNU General Public License v3.0
7.47k stars 916 forks source link

Gradle sync error when building the project for the first time #1997

Open Souloid opened 1 month ago

Souloid commented 1 month ago

Pre-submission checklist

Description

When following the build instructions under Build.md I encounter the following an error preventing gradle from syncing and building the uhabits-core. The warning for that problem reads: "No locally installed toolchains match and toolchain download repositories have not been configured."

Steps to reproduce

  1. Go to build.md and follow the instructions on a fresh install windows machine (intel cpu).
  2. Click on "Sync project with Gradle Files" within the android studio.
  3. Scroll down to the end of the sync terminal output on the bottom.
  4. See error "project ':uhabits-core': Source set model building failure"

System information

Screenshots

If applicable, add screenshots to help explain your problem. 05-26-2024@10-01-05-parsecd-Parsec-67