简体   繁体   English

Android Studio:列出需要SDK级别高于项目最低级别的所有调用

[英]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.

相关问题 当我在 Android Studio 中创建一个新项目时,我应该根据项目类型选择哪个 API 级别作为最低 SDK? - When I create a new project in Android Studio, which API level should I choose according to project type as the minimum SDK? 查找特定android sdk级别的所有调用 - Finding all calls to a specific android sdk level Android Studio:List.of() '调用需要 API 级别...' - Android Studio: List.of() 'Call requires API level...' 更改Android Project SDK级别 - Changing Android Project SDK level Android Studio 中用于制作基于 model 的应用程序的最低 SDK(软件开发套件)级别是多少 - What would be minimum SDK(Software Development Kit) level in Android Studio for making a Machine Learning model based application 在开发Android应用程序时选择最低的SDK和API级别 - Choosing minimum SDK and API level while developing an android application API级别列表 - android中的设备和SDK版本 - List of API Level - Devices and SDK Versions in android Android Studio V0.8无法创建新的Glass Module,错误为“组件Glass Module的最低SDK级别为19” - Android studio V0.8 cannot create new Glass Module with error “The component Glass Module has a minimum SDK level of 19” Android studio:调用需要API Level 16错误 - Android studio : call requires API Level 16 error 如何在 Android Studio 中为项目设置最低 api 级别? - How do I set the minimum api level for projects in Android Studio?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM