20 lines
603 B
Markdown
20 lines
603 B
Markdown
|
|
|
|
## Android Studio gradle could not sync with project (MacOS)
|
|
|
|
A solution to this issue is by removing the cache files in the gradle folder.
|
|
This can be done by executing the following command:
|
|
|
|
```bash
|
|
sudo rm -rf ~/.gradle/caches/
|
|
```
|
|
|
|
If the issue presists, one can remove the existing gradle executables in the
|
|
following path:
|
|
|
|
> `/Users/.../.gradle/wrapper/dists/`
|
|
|
|
If the issue still remains, one can try removing the gradle files in the project
|
|
and try to sync the project again. This can be done by removing the gradle files in
|
|
the project source directory and then syncing the project again.
|