Answers for "how to compile with xlint android"

0

Xlint:deprecation android studio

//add to android project level build.gradle
allprojects {
    gradle.projectsEvaluated {
        tasks.withType(JavaCompile) {
            options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
        }
    }
}
Posted by: Guest on October-18-2020

Code answers related to "how to compile with xlint android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language