question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:22
  • Comments:5

github_iconTop GitHub Comments

3reactions
medalawicommented, Jun 21, 2021

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

0reactions
navneethhcommented, Jul 24, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Difference among mavenCentral(), jCenter() and mavenLocal()?
The mavenLocal() alias means that dependencies are fetched from the local ... jcenter() and mavenCentral() is a repository for the Gradle ...
Read more >
Declaring repositories - Gradle User Manual
To declare the Maven Central repository for your build add this to your script: Example 1. ... repositories { mavenCentral() maven { url ......
Read more >
Maven Central Repository Search
Official search by the maintainers of Maven Central Repository. Apache Maven Resources | About Sonatype | Privacy Policy | Terms Of Service |...
Read more >
Upgrade Android Project from JCenter to Maven Central
Open your root build.gradle; Find lines that say jcenter() and add mavenCentral() before each of them (Make sure to add mavenCenteral() in ...
Read more >
Central - Maven Repository
URL, https://repo1.maven.org/maven2/. Storage, 29585.7 GBs. Packages, 10,213,708 indexed packages. Published Packages by Year. 2022. 2,134,254. 2021.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found