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

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

Open
SESA676144 opened this issue Aug 9, 2024 · 13 comments
Open

Comments

@SESA676144
Copy link

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
Copy link

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
Copy link

Same here. It was working last month

@bkeresztes
Copy link

bkeresztes commented Aug 16, 2024

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
Copy link

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
Copy link

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

@George1297
Copy link

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

@praveenraikar
Copy link

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

@sarathZam
Copy link

sarathZam commented Aug 23, 2024

com.github.DImuthuUpe:AndroidPdfViewer:$VERSION

this worked for me

@import-tushar
Copy link

same issue

@arihav
Copy link

arihav commented Sep 2, 2024

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
Copy link

RahamathFern commented Sep 16, 2024

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
Copy link

Liam6666 commented Nov 7, 2024

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
Copy link

applefanbois commented Nov 15, 2024

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.

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