[英]Android Studio: List all calls which requires SDK level above the project minimum level
I have been developing an android application. 我一直在开发一个android应用程序。 Previously the decided minimum level was 4.0 but now it's 2.3.3.
以前确定的最低级别是4.0,但现在是2.3.3。 So there are certain call in my project which requires SDK level 14 and hence app is crashing in 2.3.3.
因此,在我的项目中有某些调用需要SDK级别14,因此应用程序在2.3.3中崩溃。 I'm using Android Studio IDE.
我正在使用Android Studio IDE。 Is there a way in Android studio to list down all such calls.
Android studio中有没有办法列出所有此类调用。 Need this to estimate the conversion time.
需要这个来估计转换时间。
Thanks 谢谢
Set your minSdkVersion to 10 (2.3.3) and do a full build: 将您的minSdkVersion设置为10(2.3.3)并进行完整构建:
./gradlew clean build
Next look at the report generated by Lint. 接下来看一下Lint生成的报告。 It will tell you where you have made API calls that are not supported on API level 10.
它会告诉您在哪里进行了API级别10不支持的API调用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.