activity in different flavor do not put it in src/main/java.
Do note that if you had 3 flavors and only wanted a custom one for flavor1, while flavor2 and flavor3 shared the same activity you could create a common source folders for those two other activities. You have total flexibility in creating new source folders and configuring the source set to use them?
Объясните пожалуйста как это реализовать?
Лучше вообще никогда так не делать. Нормальное решение — модули.
Обсуждают сегодня