iSoron / uhabits

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

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

Open Souloid opened 6 months ago

Souloid commented 6 months 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

alexmedv commented 3 months ago

I have the same issue