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

Cannot add version 2.0.0 #226

Closed
amir14a opened this issue Jun 12, 2019 · 2 comments
Closed

Cannot add version 2.0.0 #226

amir14a opened this issue Jun 12, 2019 · 2 comments

Comments

@amir14a
Copy link

amir14a commented Jun 12, 2019

this Error happen when use v2.0.0:

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.1] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
Suggestion: add 'tools:replace="android:appComponentFactory"' to element at AndroidManifest.xml:11:5-49:19 to override.

  • Image Picker Version:2.0.0
  • Android OS:23
  • Phone:
@esafirm
Copy link
Owner

esafirm commented Jul 16, 2019

I think this happen because your projects haven't yet migrate to AndroidX

Can you try adding these two lines in gradle.properties

android.useAndroidX=true
android.enableJetifier=true

@esafirm
Copy link
Owner

esafirm commented Aug 10, 2019

Closing the issue do inactivity.
Will add some info in readme

@esafirm esafirm closed this as completed Aug 10, 2019
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

2 participants