Build issue
While I try to build, Android Studio says:
Caused by: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: Caused by: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete Caused by: com.android.tools.r8.utils.AbortException: Error: null, Cannot fit requested classes in a single dex file (# methods: 122418 > 65536)
@AlessandroBiaggi Please, make sure that you are using the latest version of the AnyChart Android library and modern version of Android Studio. The approach described in the repo wiki builds the project properly.
add
defaultConfig {
...
multiDexEnabled true
}
to build.gradle