Greum Well-Known Member Jun 30, 2019 #1 Android Studio is reporting that I am using a deprecated API and says to recompile with -Xlint:deprecation for details. How do I recompile with -xlint:deprecation?
Android Studio is reporting that I am using a deprecated API and says to recompile with -Xlint:deprecation for details. How do I recompile with -xlint:deprecation?
D Deleted User Guest Jun 30, 2019 #2 In your build.gradle add the following Code: allprojects { tasks.withType(JavaCompile) { options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" } } https://stackoverflow.com/questions/47740812/recompile-with-xlint-in-android-studio[/CODE]
In your build.gradle add the following Code: allprojects { tasks.withType(JavaCompile) { options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" } } https://stackoverflow.com/questions/47740812/recompile-with-xlint-in-android-studio[/CODE]
Greum Well-Known Member Jun 30, 2019 #3 Thanks @LV426. I didn't find that link using Duck Duck Go or Google