我刚刚将kotlin更新到1.3.30,现在在同步gradle时出现此错误:WARNING:API'variant.getPackageLibrary()'isobsoleteandhasbeenreplacedwith'variant.getPackageLibraryProvider()'.Itwillberemovedattheendof2019.Formoreinformation,seehttps://d.android.com/r/tools/task-configuration-avoidance.Todeterminewhatiscallingvariant.getPa
我已在我的项目的build.gradle中将每次出现的compile替换为implementation,但我仍然收到此警告:我试图在整个项目中寻找“编译”,但没有找到匹配项。那么可能是什么原因呢? 最佳答案 我已将com.google.gms:google-services从3.1.1更新为3.2.0并且警告不再出现.buildscript{repositories{google()jcenter()}dependencies{classpath'com.android.tools.build:gradle:3.1.0'//NOTE
我已在我的项目的build.gradle中将每次出现的compile替换为implementation,但我仍然收到此警告:我试图在整个项目中寻找“编译”,但没有找到匹配项。那么可能是什么原因呢? 最佳答案 我已将com.google.gms:google-services从3.1.1更新为3.2.0并且警告不再出现.buildscript{repositories{google()jcenter()}dependencies{classpath'com.android.tools.build:gradle:3.1.0'//NOTE