Search code examples
android-studioandroid-build-flavors

product flavor names cannot collide with build type names


I have created two build flavor one is debug and another one is release. Step 1. Go project structure in add flavor. step 2. Click on OK .

Now i am facing error like **

"product flavor names cannot collide with build type names"


Solution

  • Build flavor name and build type name are same. Like build type release or debug or flavor names are debug and release.

    Do rename your build flavor like dev or prod.