title: package name clashes with class of same name error in android studio
body: <p>I was trying out Udacity course on developing android app.<a href="https://i.stack.imgur.com/0AOY0.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/0AOY0.jpg" alt="enter image description here"></a></p>
  
  <p>above was the error i ran into when i tried creating an android test case while going through the lesson-4.</p>
  
  <p>the problem is the test classes under the androidtest folderare packaged under
  com.sasharma.android.sunshine.testbut whenever i run the app in Androidtest configuration the gradle build the bUildCOnfig File for androidtest with the same package name and gives me the error "<strong>Error:(4, 1) error: package com.sasharma.android.sunshine.test clashes with class of same name"</strong></p>
  
  <p>Also i found that the only difference between the package names used by course instructors and the one used by me is that they are having an extra "app" to there package names like  my package name for src\main\java*activity classes is also com.sasharma.android.sunshine but theirs is com.sasharma.android.sunshine .test and same goes for the package name under androidTest directory</p>
  
  <p>Thanks in Advance!!!</p>