Programming Tips - MyFile.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Date: 2018jun27 Product: Android Studio Q. MyFile.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. A. You can add options.deprecation = true to allproject in your main gradle to see what's causing the issue.
allprojects { ... tasks.withType(JavaCompile) { options.deprecation = true } }