Gradle:Using flatDir should be avoided because it doesn‘t support any meta-data formats.
app.gradle代码段1:repositories{flatDir{dirs'libs'}}代码段2:dependencies{classpath"com.android.tools.build:gradle:4.2.2"}Gradle升级4.2.2后,编译会出现如下提示信息,删除即可解决问题UsingflatDirshouldbeavoidedbecauseitdoesn'tsupporta