When i\'m trying to debug my android app i\'m getting the following error message:
Error:Execution failed for task \':app:transformClassesWithDexFor
I had the same issue, solved it by doing the following
In the app build gradle file, inside android: add in defaultConfig:
multiDexEnabled true
and add this in the android:
dexOptions { javaMaxHeapSize "4g" }
Ref: https://stackoverflow.com/a/25006428/2069407