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

tools:replace="android:appComponentFactory" android:appComponentFactory="android.support.v4.app.CoreComponentFactory" #18

Open
shenbuqingyun opened this issue Jan 4, 2019 · 6 comments

Comments

@shenbuqingyun
Copy link

Program type already present: android.support.v4.graphics.drawable.IconCompatParcelizer

@shenbuqingyun
Copy link
Author

Manifest merger failed : Attribute application@appComponentFactory

@shenbuqingyun
Copy link
Author

Suggestion: add 'tools:replace="android:appComponentFactory"' to element

@jaredrummler
Copy link
Owner

Are you sure this is related to the library? It isn't using IconCompatParcelizer

@LuiguiBalarezo
Copy link

Hola a todos
Tengo el mismo Problema

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

Gracias por la atención

@yuanphoenix
Copy link

Hola a todos
Tengo el mismo Problema
---- Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
Suggestion: add 'tools:replace="android:appComponentFactory"' to element at AndroidManifest.xml:5:5-23:19 to override. ----
Gracias por la atención

I also meet this question.I have solved it. My compileSdkVersion is 28.
You only chose Refactor-Migrate to AndroidX.
Done.

@rbaena2016
Copy link

Hola, he solucionado este video haciendo un refactor y migrando a AndroidX, dejo el link de un video que me ayudo a realizar esto. https://www.youtube.com/watch?v=HzTGcIPgZ-A

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

5 participants