Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to resolve: com.github.barteksc:android-pdf-viewer:3.2.0-beta.1 #1217

Open
WY1605058341 opened this issue Nov 1, 2024 · 11 comments
Open

Comments

@WY1605058341
Copy link

The version of Android Studio is 2024.1.2.
Can not sync success,show the error : Failed to resolve: com.github.barteksc:android-pdf-viewer:3.2.0-beta.1

@hhajiloo
Copy link

hhajiloo commented Nov 2, 2024

use below repo
maven { url "https://repository.liferay.com/nexus/content/repositories/public/" }

@jordizspmobile
Copy link

Isn't working, continue failing

@hhajiloo
Copy link

hhajiloo commented Nov 3, 2024

settings.gradle file

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        gradlePluginPortal()
        maven { url 'https://jitpack.io' }
        maven { url "https://repository.liferay.com/nexus/content/repositories/public/" }
    }
}

i use and its work!

@shubhamshreesri
Copy link

not working

@sharat
Copy link

sharat commented Nov 29, 2024

The fix proposed works. Can someone explain why we have to link to another repository to get the latest version? Shouldn't this be better done as a GitHub package ?

@thakkarnetram
Copy link

The version of Android Studio is 2024.1.2. Can not sync success,show the error : Failed to resolve: com.github.barteksc:android-pdf-viewer:3.2.0-beta.1

Use this one . it works.

implementation 'com.github.mhiew:android-pdf-viewer:3.2.0-beta.1'

@mohdmustaqeem7830
Copy link

settings.gradle file

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        gradlePluginPortal()
        maven { url 'https://jitpack.io' }
        maven { url "https://repository.liferay.com/nexus/content/repositories/public/" }
    }
}

i use and its work!

i also use this and now it's perfectly working

@mikehot
Copy link

mikehot commented Dec 18, 2024

Android Studio 版本是 2024.1.2。无法同步成功,显示错误:无法解析:com.github.barteksc:android-pdf-viewer:3.2.0-beta.1

使用这个。它有效。

implementation 'com.github.mhiew:android-pdf-viewer:3.2.0-beta.1'

thank you

@ankushpatel18
Copy link

use below repo maven { url "https://repository.liferay.com/nexus/content/repositories/public/" }

Using this repo in project level build.gradle file, I was able to address this issue.

@sumitsah250
Copy link

worked for some time but not working now

@pravynandas
Copy link

use below repo maven { url "https://repository.liferay.com/nexus/content/repositories/public/" }

Thanks @hhajiloo . This worked like a charm. Not just android-pdf-viewer but few other obsolete dependencies were also found in this repo.

Failed to resolve: com.firebase:firebase-jobdispatcher:0.8.5
Failed to resolve: xyz.belvi.mobilevision:barcodescanner:2.0.3
Failed to resolve: net.opacapp:multiline-collapsingtoolbar:27.1.1
Failed to resolve: com.journeyapps:zxing-android-embedded:3.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests