PdfViewPager icon indicating copy to clipboard operation
PdfViewPager copied to clipboard

Failed To Resolve es.voghdev.pdfviewpager:library:1.1.3 library on Android Studio 2023.3.1 p1

Open gumuruhsspj opened this issue 1 year ago • 4 comments

Describe the bug I tried to implement the configuration part but seems after running the sync everythings comes up with the error focus on library failed to resolve

Steps to Reproduce Here what i've done so far:

  1. Go to my empty project with just single Hello World that works well
  2. Next i opened build.gradle Module:app
  3. Put these codes:
dependencies {

    implementation libs.androidx.core.ktx
    implementation libs.androidx.lifecycle.runtime.ktx
    implementation libs.androidx.activity.compose
    implementation platform(libs.androidx.compose.bom)
    implementation libs.androidx.ui
    implementation libs.androidx.ui.graphics
    implementation libs.androidx.ui.tooling.preview
    implementation libs.androidx.material3
    implementation libs.es.voghdev.pdfviewpager.library
    debugImplementation libs.androidx.ui.tooling

}
  1. And then go to the libs.versions.toml and and along these code too :

[versions]
agp = "8.4.1"
kotlin = "1.9.0"
coreKtx = "1.10.1"
lifecycleRuntimeKtx = "2.6.1"
activityCompose = "1.8.0"
composeBom = "2023.08.00"
pdfviewpagerLibrary = "1.1.3"

[libraries]
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" }
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" }
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
androidx-ui = { group = "androidx.compose.ui", name = "ui" }
androidx-ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" }
androidx-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
es-voghdev-pdfviewpager-library = { group ="es.voghdev.pdfviewpager", name="library", version.ref = "pdfviewpagerLibrary"  }

[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }


Expected behavior As far as I Know from the default one. I just put the pdfviewpagerLibrary version, and also the libraries section. Nothing more.

Screenshots But somehow the Gradle didnt found that library? huh, strange! image

Current Hardware Profile:

  • Processor i3-4150 CPU @3.5 Ghz
  • RAM : 8GB (with 7.69Gb usable)
  • Windows 10 with 64bit.
  • HDD : nothing wrong with the harddrive, coz i am currently working on.

Any clues for this matter? Is this the library or the configuration or the gradle or something i dunno?

Regards,

FG.

gumuruhsspj avatar Aug 28 '24 05:08 gumuruhsspj

This library is still hosted on JCenter, but JCenter has been deprecated. @fgroupindonesia

real-Darkshadow avatar Sep 03 '24 15:09 real-Darkshadow

@fgroupindonesia any temporary workaround? I am facing the same issue

adityasanghi96 avatar Oct 16 '24 08:10 adityasanghi96

https://jitpack.io/#voghDev/PdfViewPager Version 1.1.2 has an error. Log of error: https://jitpack.io/com/github/voghDev/PdfViewPager/1.1.2/build.log

freakdragon avatar Jan 16 '25 05:01 freakdragon