title: In Android flavors Activity not getting changed based on flavor. Only main package activity is called
body: <p>I have created 2 flavors(one and two) and one main package as you can see in image which i have shared. These three flavors has a separate three MainActivity.class. 
  when i change the flavor i am trying to change the textView content from MainActivity.class of its flavor, but it's not getting changed. Only the layout is getting replaced as per the flavor not the class. </p>
  
  <p>For example, i set current flavor as one and set textView content as "one" from MainActivity.class its not getting changed but it takes the MainActivity.class of main package and the layout is working taken based on the flavor. </p>
  
  <p>project structure image</p>
  
  <p><a href="https://i.stack.imgur.com/khEWs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/khEWs.png" alt="enter image description here"></a></p>