Open ghost opened 5 years ago
@TimothyJimothy The AnyChart Android library runs on API 19+. So, it's compatible with both 27 and 28 API versions.
How would I resolve those build failures/linking failures then? They only occur when I add the AnyChart dependency to gradle, and after digging into it it appears to be an issue with API 28. Downgrade my build tools to 27.1.1?
@TimothyJimothy We recommend to use 28 API for target and compiled sdk version.
Using 28.0.0 breaks contraintlayouts and drawerlayouts. If it’s compatible with 27 surely there is a way to make it work, or else this lib only works with API 28+
@TimothyJimothy Ok, I see. Try to add the implementation with an option like this:
implementation ('com.github.AnyChart:AnyChart-Android:1.1.2') {
exclude group: 'com.android.support'
}
@Shestac92 that seems to have done the trick, but I will update once i'm able to fully verify that it works. It actually builds now so that's a good first step 💯
Master
Hello-word
The app that I am building must use
compileSdkVersion 27
however I am usingbuildToolsVersion '28.0.3'
. Gradle syncs fine, however on build i getWhich appears to be due to AnyChart being built against API 28. Is there a previous version that was built against API 27 so that I do not have this problem? Or is there a way to force it to ignore the API 28 dependencies?