-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I just tried to build the app, but it failed with:
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':app:debugCompileClasspath'.
> Could not find me.dm7.barcodescanner:zxing:1.9.13.
Required by:
project :app
Doing some research, I was able to resolve it by editing app/build.gradle. Apparently JCenter is deprecated and in read-only mode, so I changed the repositories stanza to:
repositories {
google()
mavenCentral()
}
The latest version on Maven Central seems to be 1.9.8 (source), so update the version for the dependency.
With these changes I got the app to build and a quick test was successful.
I didn’t do a lot of research, maybe someone comes up with a way to get the latest version of the dependency. If not, then I would suggest the above as a fix.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels