Cannot change strategy of configuration ':testCompile' after it has been resolved
问题 when I upgraded my google-services version to 4.1.0 and gms:play-services-maps:16.0.0 getting below error during building the project. A problem occurred evaluating root project ':app'. > Failed to apply plugin [id 'com.google.gms.google-services'] > Cannot change strategy of configuration ':testCompile' after it has been resolved. Below is my build.gradle buildscript { repositories { flatDir { dirs './lib' } google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.0.1'