AnyChart / AnyChart-Android

AnyChart Android Chart is an amazing data visualization library for easily creating interactive charts in Android apps. It runs on API 19+ (Android 4.4) and features dozens of built-in chart types.
2.32k stars 369 forks source link

Application build failed #220

Open naveen-bandarupally opened 3 years ago

naveen-bandarupally commented 3 years ago

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-26:19 to override.

I have tried to use the specified suggestion above, but it still shows the error. I am using the following dependencies. image

m3hdimoji commented 3 years ago

I have the same problem!

vedant-pandey commented 3 years ago

I found this issue has more to do with androidx, so if you bump the dependency of any charts to 1.1.4, then it works correctly.

implementation 'com.github.AnyChart:AnyChart-Android:1.1.4'