Android Studio新版本运行旧项目闪退不报错AGPBI: {“kind“:“warning“,“text“:“Using flatDir should be avoided because

AGPBI: {“kind”:“warning”,“text”:“Using flatDir should be avoided because it doesn’t support any meta-data formats.”,“sources”:[{}]}

把代码注释掉

 repositories {
        flatDir {
            dirs 'libs'
        }
    }




修改为
sourceSets.main {
        jniLibs.srcDirs = ['libs']
    }


你可能感兴趣的:(android,studio,kind,python)