Project won't even sync (let alone compile)

Open
#83 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
kotlin

Research direction

Reproduce the sync failure from a fresh clone using Android Studio Otter 2025.2.1 Patch 1 on macOS 11.7.10, then capture the actual Gradle or sync error. Done means the project syncs successfully in the reported environment and can proceed to compilation.

Written by the indexing model from the issue text.

Description

Just cloned the project from https://github.com/android/codelab-android-datastore. Can't even get the project to sync. Tried starting from scratch 3 times--no luck. This project is just bunk for the latest versions of Android Studio.

Android Studio Otter | 2025.2.1 Patch 1
Build #AI-252.25557.131.2521.14432022, built on November 13, 2025
Runtime version: 21.0.8+-14196175-b1038.72 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 11.7.10
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4096M
Cores: 8
Metal Rendering is ON
Registry:
undo.documentUndoLimit=2000
ide.instant.shutdown=false
debugger.watches.in.variables=false
ide.experimental.ui=true
ide.images.show.chessboard=true
Non-Bundled Plugins:
com.jetbrains.edu (2025.10-2025.2-803)
com.nasller.CodeGlancePro (2.0.1)

Dominant language
Kotlin
Stars
240
Forks
113
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from android/codelab-android-datastore

All issues in android/codelab-android-datastore

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.