最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

android - Downgrading minSdk, listing "call requires API" problems - Stack Overflow

programmeradmin3浏览0评论

I have unusual case: I need to put lower minSdk just for one particular device... (24 -> 23)

It's easy to make change in build.gradle, but running app is crashing on API 23 in various use cases, because some of used APIs are available since API 24... e.g.

Call requires API level 24 (current min is 23): android. text. Html#fromHtml

and fromHtml is red-underlined

Tried Code -> Analyze code -> Run Inspection by Name, but can't find there Call requires API. There is also Code -> Inspect code, but running this takes muuuch time, never finishing... Well, maybe during night, but even after 1h (cancelled) there were no such errors and I'm not sure if will find any when I leave this task for (very) long

So: how can I list all problems of this kind? AS Ladybug

发布评论

评论列表(0)

  1. 暂无评论