I\'m trying to generate a release build but im not able because of mutidex issues my project has all the multidex enabled and dependencies added
The error i\'m rece
Error: Program type already present: somemodule/BuildConfig
Cause
In my case I had a (hidden) circular dependency which Android Studio did not find:
testutils/build.gradle
uses implementation project(':somemodule')
somemodule/build.gradle
had `androidTestImplementation project(":testutils")
Solution