wu9007 / qrcode_scanner

🛠 Flutter QR code scanner plugin.
MIT License
358 stars 185 forks source link

Unable to build application 'Could not resolve com.github.leyan95:android-zxingLibrary:0.1.2-PRE' #127

Closed lowwailum123 closed 2 years ago

lowwailum123 commented 2 years ago

FAILURE: Build failed with an exception.

BUILD FAILED in 7s

lowwailum123 commented 2 years ago

After further investigations, it is likely caused by the shutting down of jCenter which the bintray is hosted on at May 1st, 2021. The author will need to change the repository where he host it on. Though it only happened to me at December 1st, 2021 so I can't be too sure.

mrdavidhsieh commented 2 years ago

Same issue here, looks like it's a server problem, can't download necessary file from the remote address, pls help to fix, thanks.

cedos10 commented 2 years ago

same issue to me also,but i,m using the latest version 0.3.2 Null safety .what about downgrading it? couldn.t be temporary solution??

PJohNSK commented 2 years ago

Is there any fix for this issue? I'm using the latest version 0.3.2

edbertproject commented 2 years ago

downgrading does not solve the problem, I'm temporarily switching to another library. Still looking permanent solution for issue

wu9007 commented 2 years ago

@lowwailum123 Add it in your root build.gradle at the end of repositories:

allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }