Android Studio新版本运行旧项目闪退不报错AGPBI: {“kind“:“warning“,“text“:“Using flatDir should be avoided because
AGPBI:{“kind”:“warning”,“text”:“UsingflatDirshouldbeavoidedbecauseitdoesn’tsupportanymeta-dataformats.”,“sources”:[{}]}把代码注释掉repositories{flatDir{dirs'libs'}}修改为sourceSets.main{jniLibs.srcDirs=['libs'