android kotlin Gradle DSL method not found: '1.2.51()'错误,be using a version of the Android Gradle plug-in that does not contain the method (e.g. 'testCompile' was added in 1.1.0).

同步的时候遇到这个问题,从log上看是因为gradle的版本不包含kotlin 1.2.51这个method,具体原因我也不是很清楚,大概猜测是kotlin版本的问题,而最新的版本就是1.2.51,所以就试着把后面的删除了,问题是解决了,但是不明觉厉,有大神路过的,还望指点一二。

猜你喜欢

转载自www.cnblogs.com/hechangshou/p/9268927.html