这篇是写在尝试将gradle从groovy迁移到kotlin的dsl途中,
其中,迁移到project/build.gradle文件时发生了app/build.gradle报错,
Plugin [id: 'com.android.application'] was not found in any of the following sources:
逐行尝试后发现是jcenter的引入导致了这个问题,包括这种引入和jcenter()的引入都会导致这种报错的发生
这篇是写在尝试将gradle从groovy迁移到kotlin的dsl途中,
其中,迁移到project/build.gradle文件时发生了app/build.gradle报错,
Plugin [id: 'com.android.application'] was not found in any of the following sources:
逐行尝试后发现是jcenter的引入导致了这个问题,包括这种引入和jcenter()的引入都会导致这种报错的发生