📅  最后修改于: 2022-03-11 14:52:08.888000             🧑  作者: Mango
//add to android project level build.gradle
allprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}