Open guenter47 opened 3 years ago
saving my life over here with this link
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
Project already migrated to androidx Any idea how to solve?
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.
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
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
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()