Error:Execution failed for task ':app:preDebugAndroidTestBuild' , when tried to run java program in android studio

后端 未结 14 1209
渐次进展
渐次进展 2021-02-13 03:03

Getting the below error at the time of running java program in android studio.

Error:Execution failed for task \':app:preDebugAndroidTestBuild\'.

<
14条回答
  •  渐次进展
    2021-02-13 03:47

    Add this to your app gradle file

    configurations.all {
       resolutionStrategy {
          force 'com.android.support:support-annotations:26.1.0'
       }
    }
    

提交回复
热议问题