yuriy-budiyev / code-scanner

Code scanner library for Android, based on ZXing
MIT License
1.1k stars 267 forks source link

Dependency no longer working #166

Open willyngugi opened 2 years ago

willyngugi commented 2 years ago

This dependency is no longer working, and is causing the app to crush. The dependency sync successfully, but you cannot use it in Java files or XML files. Can you have it resolved?

vishalroygeek commented 2 years ago

@willteksoftwares don't forget to add this in your settings.gradle file

dependencyResolutionManagement {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}
fhlkm commented 2 years ago

After add settings.gradle, there is an error like below:

Could not find method dependencyResolutionManagement() for arguments [settings_81bkog79b35fvess1gaqimf1w$_run_closure1@2390235e] on settings '***' of type org.gradle.initialization.DefaultSettings.

nahkog commented 2 years ago

Not working Failed to resolve: com.github.yuriy-budiyev:code-scanner:2.3.2

Yurdaaaaa commented 2 years ago

@nahkog its working for me tho

ozanurkn commented 2 years ago

when i added dependencyResolutionManagement in setting.gradle, solved error about that.