Привет, друг, я использую библиотеку выбора цвета GitHub, здесь зависимость от библиотеки
implementation 'petrov.kristiyan:colorpicker-library:1.1.10'
Ссылка на библиотеку https://github.com/kristiyanP/colorpicker
Когда я пытался интегрировать эту библиотеку в свой проект, я получаю эту ошибку, пожалуйста, помогите мне?
ERROR: 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 <application> element at AndroidManifest.xml:8:5-35:19 to override.
here is my mainfest
<?xml version = "1.0" encoding = "utf-8"?>
<manifest xmlns:android = "http://schemas.android.com/apk/res/android"
package = "bible.swordof.God">
<uses-permission android:name = "android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name = "android.permission.READ_EXTERNAL_STORAGE_EXTERNAL_STORAGE" />
<application
android:allowBackup = "true"
android:icon = "@mipmap/ic_launcher"
android:label = "@string/app_name"
android:roundIcon = "@mipmap/ic_launcher_round"
android:supportsRtl = "true"
android:theme = "@style/AppTheme">
<activity android:name = ".Favourite"></activity>
<activity android:name = ".ALLVERSE" />
<activity android:name = ".Verse" />
<activity android:name = ".Chapters" />
<activity android:name = ".splashsacreen">
<intent-filter>
<action android:name = "android.intent.action.MAIN" />
<category android:name = "android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<meta-data
android:name = "com.google.android.gms.ads.APPLICATION_ID"
android:value = "ca-app-pub-3940256099942544~3347511713" />
<activity
android:name = ".MainActivity"
android:label = "@string/app_name"
android:theme = "@style/AppTheme.NoActionBar" />
</application>
</manifest>
Это противоречит переходу на использование AndroidX ниже:
implementation 'petrov.kristiyan:colorpicker-library:1.1.5'