[英]Finding all calls to a specific android sdk level
I need to port an Android app to an older version. 我需要将Android应用程序移植到旧版本。 That is, the app now runs in 4.0, but not in 2.2, so I need to find all API calls incompatible to 2.2 and do a workarround.
也就是说,应用程序现在在4.0中运行,但不在2.2中运行,因此我需要找到与2.2不兼容的所有API调用并进行工作。
Is there any tool to do that easilly? 是否有任何工具可以轻松完成? That tool whould be theorically simple, it just had to find all function calls and check it's "@since" attribute, but I can't find one.
该工具理论上很简单,它只需要找到所有函数调用并检查它的“@since”属性,但我找不到一个。
I wonder how other people do that. 我想知道其他人是怎么做到的。 If I don't find this tool I may do it, but I don't know how much time will I have, or even if I'll have the needed skill.
如果我找不到这个工具,我可以这样做,但我不知道我有多少时间,或者即使我有所需的技能。
只需将Project Build Target更改为2.2 - > Eclipse会将所有内容标记为红色,但不支持。
If you have the source files with which u built the APK, Right Click Project -> Properties -> Android. 如果您有用于构建APK的源文件,请右键单击项目 - >属性 - > Android。 Select API level 8. Whatever errors you see in Java files are not supported.
选择API级别8.不支持在Java文件中看到的任何错误。 Simple!
简单!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.