I have a project, which i want to configure on my computer.
On anothe computer it works, but with old version of Android Studio 0.4.0 whenever I use 0.5.2
Th
I think we cannot enable --core-library via dexOptions.
We know that dexOptions delegated to a com.android.build.gradle.internal.dsl.DexOptions object, which implements com.android.builder.core.DexOptions.
From the source code, we know it doesn't support --core-library.
From Issue 79280: dexOptions in gradle plugin don't support coreLibrary
You can do it manually by
- disable pre-dexing (this is because our cache would have issues if we allow adding extra params)
- modify the Dex tasks to add --core-library as an extra parameters.