Error:Execution failed for task \':app:transformClassesWithDexForDebug\'. com.android.build.api.transform.TransformException: com.android.ide.common.process
Found cause and solution.
All at the sudden this happened, when I created a class with the same signature (package and name) in 2 different projects of my environment and started the App to try it. Got that message.
I discovered it by adding multiDexEnabled true
and new error message appeared with duplicated class found.
So, I refactored the class (changed package name), also removed multiDexEnabled
support as it was before, the App started.