title: Error:Execution failed for task ':app:preDebugAndroidTestBuild' , when tried to run java program in android studio
body: <p>Getting the below error at the time of running java program in android studio.</p>
  
  <p>Error:Execution failed for task ':<strong>app:preDebugAndroidTestBuild</strong>'.</p>
  
  <blockquote>
    <p>Conflict with dependency 'com.android.support:support-annotations' in project ':app'. Resolved versions for app (26.1.0) and test app (27.1.1) differ. See <a href="https://d.android.com/r/tools/test-apk-dependency-conflicts.html" rel="noreferrer">https://d.android.com/r/tools/test-apk-dependency-conflicts.html</a> for details.</p>
  </blockquote>
  
  <p>Any solution please. ?</p>