DImuthuUpe / AndroidPdfViewer

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

mavenCentral() #1005

Open guenter47 opened 3 years ago

guenter47 commented 3 years ago

Library is available in jcenter repository, probably it'll be in Maven Central soon.

Do you know approximately when the library will be available in Maven? jCenter() to be shut down in 2022.

###################### Update ##################

I have found here: https://search.maven.org/search?q=a:android-pdf-viewer a mavenCentral-Version named com.github.mhiew.

in android gradle: implementation 'com.github.mhiew:android-pdf-viewer:3.2.0-beta.1' works without problems and without jCenter()

jinglebiscuits commented 3 years ago

saving my life over here with this link

Dhivalc commented 3 years ago

Getting manifest merger error. Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from [androidx.core:core:1.5.0] AndroidManifest.xml:24:18-86 is also present at [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91 value=(android.support.v4.app.CoreComponentFactory). Suggestion: add 'tools:replace="android:appComponentFactory"' to element at AndroidManifest.xml:9:5-37:19 to override.

Project already migrated to androidx Any idea how to solve?

nandurstudio commented 3 years ago

Seems like the original project was abandoned by the creator, because the library isn't available for public access. The link you given currently working like a charm.

medalawi commented 3 years ago

Getting manifest merger error. Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from [androidx.core:core:1.5.0] AndroidManifest.xml:24:18-86 is also present at [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91 value=(android.support.v4.app.CoreComponentFactory). Suggestion: add 'tools:replace="android:appComponentFactory"' to element at AndroidManifest.xml:9:5-37:19 to override.

Project already migrated to androidx Any idea how to solve?

I solved this by adding 2 lines inside gradle.properties file

android.useAndroidX=true android.enableJetifier=true

navneethh commented 2 years ago

Getting manifest merger error. Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from [androidx.core:core:1.5.0] AndroidManifest.xml:24:18-86 is also present at [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91 value=(android.support.v4.app.CoreComponentFactory). Suggestion: add 'tools:replace="android:appComponentFactory"' to element at AndroidManifest.xml:9:5-37:19 to override. Project already migrated to androidx Any idea how to solve?

I solved this by adding 2 lines inside gradle.properties file

android.useAndroidX=true android.enableJetifier=true

Same error got it solved by adding both lines, thank you. But if possible what these lines do