gradle-android-scala-plugin
gradle-android-scala-plugin copied to clipboard
Error:Execution failed for task ':shrinkDebugMultiDexComponents'. > 2
The highest version of com.android.tools.build:gradle
that works with android-scala-plugin
is 0.14.1
. Every higher throws this exception:
Error:Execution failed for task ':shrinkDebugMultiDexComponents'. > 2
I also have this issue when using multiDexEnabled true
as described in the Google documentation, but replacing that with main-dex-list.txt
and the afterEvaluate
method seems to fix the issue.
I hope that there will be a better solution some day though; main-dex-list.txt
does feel pretty hacky.