Skip to content

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

@gumuruhsspj

Description

@gumuruhsspj

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions