Display classes containing deprecation Android Studio

时光怂恿深爱的人放手 提交于 2019-12-29 18:17:30

问题


I updated my project to the latest Android APIs and the project now has multiple deprecated methods. Does Android Studio have a cool way of listing all classes containing said methods, such as the TODO window? I know I can go through every class and search methodically through the code, but I would rather like to make it easy on my self. Any help, tips and or hints are greatly appreciated.


回答1:


If it helps someone else heres the answer to my question:

If you go to Analyze -> Inspect Code...

When your project has been inspected click on Code maturity issues and tada, there is a list of all Deprecated API usages :)




回答2:


Follow below steps: Go to Analyze -> Run Inspectinon By Name ->type Deprecated API Usage



来源:https://stackoverflow.com/questions/34807147/display-classes-containing-deprecation-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!