google / horologist

Horologist is a group of libraries that aim to supplement Wear OS developers with features that are commonly required by developers but not yet available.
https://google.github.io/horologist/
Apache License 2.0
544 stars 87 forks source link

dagger.hilt.android.plugin was not found in any of the following sources #1421

Closed theGeekyLad closed 1 year ago

theGeekyLad commented 1 year ago

I cloned the repo and have been trying to simply load the media/sample project into Android Studio but see the following app Gradle build error:

Build file '/Users/.../MediaSample/app/build.gradle.kts' line: 22

Plugin [id: 'dagger.hilt.android.plugin'] was not found in any of the following sources:

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

Any suggestions to fix this?

yschimke commented 1 year ago

Have you opened the entire project? Or just one directory?

you should have something like this

image
yschimke commented 1 year ago

reopen if this was not the issue.