'Note: Recompile with -Xlint:deprecation for details
Note: Some input files use or override a deprecated API. Note:
Recompile with -Xlint:deprecation for details.
I found many posts about this issue but none that says how to deal in android studio. Where i can set this system property in this IDE, for the project only?
Solution 1:[1]
I add it to build.gradle(app) and it worked:
android {
...
defaultConfig {
...
javaCompileOptions {
...
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Amit |
