Android: Compile with -Xlint:deprecation
#553
Answered
by
breautek
GitToTheHub
asked this question in
Q&A
-
Hi, when I build a plain Android Cordova app without any plugins on the latest master, i get some warnings: > Task :CordovaLib:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details. I want to examine, what these problems are by compiling it with Regards, Manuel |
Beta Was this translation helpful? Give feedback.
Answered by
breautek
Jul 8, 2025
Replies: 1 comment 3 replies
-
In the projects build.gradle file (not to be confused with the module/app's build.gradle) the following will enable deprecation prints:
Not sure on the best way to inject this into the cordova project, but I feel like this should be an option that can be enabled, maybe via a preference. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
GitToTheHub
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the projects build.gradle file (not to be confused with the module/app's build.gradle) the following will enable deprecation prints:
Not sure on the best way to inject this into the cordova project, but I feel like this should be an option that can be enabled, maybe via a preference.