gradle-android-scala-plugin icon indicating copy to clipboard operation
gradle-android-scala-plugin copied to clipboard

Error:Execution failed for task ':shrinkDebugMultiDexComponents'. > 2

Open KamilLelonek opened this issue 10 years ago • 1 comments

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

KamilLelonek avatar Dec 05 '14 14:12 KamilLelonek

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.

elliottsj avatar Dec 13 '14 01:12 elliottsj