AndroidPdfViewer icon indicating copy to clipboard operation
AndroidPdfViewer copied to clipboard

not working for aug 2024 still now it showing failed to resolve any suggesstions pls drop below.

Open jagannath4 opened this issue 1 year ago • 3 comments

jagannath4 avatar Sep 05 '24 16:09 jagannath4

Try this

  1. Add this to your repositories block: maven { url "https://jitpack.io" }
  2. Add this dependency: implementation 'com.github.DImuthuUpe:AndroidPdfViewer:3.1.0-beta.1'

You should be able to get the library using Jitpack instead of JCenter(Which is down), or spring repos(Which requires authentication).

AmeerElbaz avatar Sep 06 '24 12:09 AmeerElbaz

Hi AmeerElbaz I tried your solution and got no luck its still giving error. plus I am not sure if this beta version is as stable as the 2.x.x version. What we can do now. Our app is on Play store and is relying on this project for years

ashirmehmood1996 avatar Sep 11 '24 16:09 ashirmehmood1996

Hello @ashirmehmood1996, The solution above works fine with me, make sure you are placing the maven{} in the right place.

In case you want to get the 2.x.x version, you can do the following

  1. Add this to your repositories block: maven { url 'https://maven.aliyun.com/repository/public'} Make sure you are placing it in the right place, maybe you are putting it in the repositories block for plugins, not dependencies.

  2. Add this dependency: implementation "com.github.barteksc:android-pdf-viewer:2.8.2"

AmeerElbaz avatar Sep 11 '24 18:09 AmeerElbaz