DImuthuUpe / AndroidPdfViewer

Android view for displaying PDFs rendered with PdfiumAndroid
Apache License 2.0
8.17k stars 1.91k forks source link

com.github.barteksc:android-pdf-viewer:2.8.2 Not found in mavenCentral #1201

Open SESA676144 opened 3 months ago

SESA676144 commented 3 months ago

com.github.barteksc:android-pdf-viewer:2.8.2 Not found in maven or mavenCentral But its present in jcenter. Can you let me know what is happening. Till 7th Aug 2024, without maven(url = "https://jcenter.bintray.com"), pdf library was working but not now. It gives not found error

provadriennabonne commented 3 months ago

Same here. It's especially problematic as jcenter is sunsetting August 15th: see here https://jfrog.com/blog/jcenter-sunset/

Could you bring back the 2.8.2 artifact to a maven repo / mavenCentral?

George1297 commented 3 months ago

Same here. It was working last month

bkeresztes commented 3 months ago

Same here, I cannot use the latest version, have to use the 2.8.2, but now I cannot build the project that worked a few weeks ago. Has anyone found a solution for this?

I know its not a great way of doing things, but is there a downloadable jar file of the 2.8.2 version somewhere i could just plug in into my project and use it like before? :)

George1297 commented 3 months ago

There is no scope for this library now as its not part of maven. So i suggest migration to this library

io.github.afreakyelf:Pdf-Viewer:2.1.1

It is also simple and straight forward

iip-ritase commented 3 months ago

is this paid repo now? i cant run this repo anymore

George1297 commented 3 months ago

Its not paid, its not available now, gone!!

praveenraikar commented 3 months ago

Facing same issue, when can this be in maven central @DImuthuUpe ?

sarathZam commented 3 months ago

com.github.DImuthuUpe:AndroidPdfViewer:$VERSION

this worked for me

import-tushar commented 2 months ago

same issue

arihav commented 2 months ago

com.github.DImuthuUpe:AndroidPdfViewer:$VERSION

this worked for me

Worked for me with version 2.8.1

com.github.DImuthuUpe:AndroidPdfViewer:2.8.1
RahamathFern commented 2 months ago

Hi.,

We have encountered the same issue in our project with these libraries.

Could not find com.siimkinks.sqlitemagic:sqlitemagic-plugin:0.23.1.
Could not find com.williamww:silky-signature:0.1.0. 
Could not find com.kingfisherphuoc:easy-file-folder-picker-dialog:1.4.
Could not find com.romandanylyk:pageindicatorview:1.0.1.

Alternatively, we have to use this way.!

siimkinks.sqlitemagic -> https://jitpack.io/#SiimKinks/sqlitemagic/0.23.0 williamww:silky-signature -> downgrade the version (0.0.6) kingfisherphuoc:easy-file-folder-picker-dialog -> locally adding the .aar files romandanylyk:pageindicatorview -> locally adding the .aar files

Note: After integrating the SQLite Magic library from jitpack, I encountered a database initialization error in the SqliteMagic class files.

Error:

E: FATAL EXCEPTION: main
    Process: co.nexlabs.fern.dev, PID: 3369
    java.lang.RuntimeException: Unable to create application co.nexlabs.fern.app.App: java.lang.IllegalStateException: Error initializing database. Make sure there is at least one model annotated with @Table
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5463)
        at android.app.ActivityThread.-wrap2(ActivityThread.java)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1548)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:154)
        at android.app.ActivityThread.main(ActivityThread.java:6176)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:893)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:783)
     Caused by: java.lang.IllegalStateException: Error initializing database. Make sure there is at least one model annotated with @Table
        at com.siimkinks.sqlitemagic.SqliteMagic.openConnection(SqliteMagic.java:104)
        at com.siimkinks.sqlitemagic.SqliteMagic$DatabaseSetupBuilder.openDefaultConnection(SqliteMagic.java:215)
        at co.nexlabs.fern.app.App.onCreate(App.java:43)
        at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5460)
        at android.app.ActivityThread.-wrap2(ActivityThread.java) 
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1548) 
        at android.os.Handler.dispatchMessage(Handler.java:102) 
        at android.os.Looper.loop(Looper.java:154) 
        at android.app.ActivityThread.main(ActivityThread.java:6176) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:893) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:783) 
     Caused by: java.lang.RuntimeException: Looks like SqliteMagic gradle plugin processor did not run. Please make sure that project is configured correctly
        at com.siimkinks.sqlitemagic.SqlUtil.getDbVersion(SqlUtil.java:68)
        at com.siimkinks.sqlitemagic.SqliteMagic.openConnection(SqliteMagic.java:92)
        at com.siimkinks.sqlitemagic.SqliteMagic$DatabaseSetupBuilder.openDefaultConnection(SqliteMagic.java:215) 
        at co.nexlabs.fern.app.App.onCreate(App.java:43) 
        at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024) 
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5460) 
        at android.app.ActivityThread.-wrap2(ActivityThread.java) 
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1548) 
        at android.os.Handler.dispatchMessage(Handler.java:102) 
        at android.os.Looper.loop(Looper.java:154) 
        at android.app.ActivityThread.main(ActivityThread.java:6176) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:893) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:783) 

How can I initialize the Sqlite Magic library database?

Thanks., Rahamath

Liam6666 commented 2 weeks ago

I was facing same issue in my project, just put 'jcenter()' into repositories both of 'buildscript ' and 'allprojects' that will be working.

image

Update following: It still does't work well so I downloaded the source code to be a library of my existing project.

applefanbois commented 6 days ago

So this thing is forever gone? The latest version is 3.2.0 jcenter() does not work for me either and jcenter has been deprecated for a while now.