RangeSeekBar icon indicating copy to clipboard operation
RangeSeekBar copied to clipboard

Add the lib to a new project has error

Open alizera opened this issue 3 years ago • 3 comments

I just create a new project with android studio 4.2.2 and added this library to it and get the following error:

Manifest merger failed : Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from [androidx.core:core:1.3.2] 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 <application> element at AndroidManifest.xml:6:5-19:19 to override.

Also tools:replace="android:appComponentFactory doesn't fix it.

alizera avatar Aug 02 '21 05:08 alizera

rootDir/gradle.properties add android.enableJetifier=true

liujinlong123 avatar Sep 11 '23 23:09 liujinlong123

rootDir/gradle.properties add android.enableJetifier=true

It works, thanks!

chenwwayne avatar Feb 25 '24 15:02 chenwwayne