AndroidPdfViewer icon indicating copy to clipboard operation
AndroidPdfViewer copied to clipboard

mavenCentral()

Open guenter47 opened this issue 3 years ago • 5 comments

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()

guenter47 avatar May 05 '21 13:05 guenter47

saving my life over here with this link

jinglebiscuits avatar Jun 03 '21 20:06 jinglebiscuits

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?

Dhivalc avatar Jun 14 '21 02:06 Dhivalc

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.

nandurstudio avatar Jun 21 '21 03:06 nandurstudio

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

medalawi avatar Jun 21 '21 15:06 medalawi

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

navneethh avatar Jul 24 '22 07:07 navneethh