简体   繁体   English

有什么办法可以同时查看所有不起作用的方法? Android工作室

[英]Any way to see all the methods that don't work at once? Android Studio

I have to estimate the time it takes to update a specific application made for Android 4.4 to Android 10 and I need to see all the methods that are deprecated or not working.我必须估计将针对 Android 4.4 制作的特定应用程序更新到 Android 10 所需的时间,并且我需要查看所有已弃用或不工作的方法。 Is there any way to see the methods without going file by file?有没有办法在不逐个文件的情况下查看方法? (I'm using Android Studio with Java) (我正在使用带有 Java 的 Android Studio)

When I build the application I only get one or two types of error at a time, when I correct them I get another one and so on.当我构建应用程序时,我一次只会得到一两种类型的错误,当我纠正它们时,我会得到另一种,依此类推。

Thanks and best regards.谢谢和最好的问候。

PS: How long does it take you to update something like that? PS:你需要多长时间来更新这样的东西? I'm a junior and I'm a little lost doing this.我是一名大三学生,这样做我有点迷茫。

Here, go to Analyze -> Inspect code.在这里,go 分析 -> 检查代码。 After inspecting check maturity there you will have depreciated methods.在检查支票到期后,您将有折旧的方法。 (Don't forget to change minSdk) After you will do that it give you method with a warning and you can filter it by having API not support warning (不要忘记更改 minSdk)之后,它会为您提供带有警告的方法,您可以通过 API 不支持警告来过滤它

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM