问题描述
我有Android Studio版本2.3.3和sdk
工具版本25.2.5.当我用min sdk
9建立一个新项目时,会犯一个错误,我必须在我的项目中使用min sdk
14.它有反正将其更改为9并使用appcompat吗?我的默认appcompat
版本是v7:26.+
我还阅读了其他问题,但是我的问题没有解决.
I have Android Studio version 2.3.3 and sdk
tools version 25.2.5. When I build a new project with min sdk
9 it makes a mistakes and i have to use min sdk
14 for my project.it has anyway to change it to 9 and also use appcompat?my default appcompat
version is v7:26.+
I also read other questions but my problem didn't solve.
推荐答案
从支持库的26.0.0版本开始,minSdk
已升至14(Android 4.0,参见此链接).如果必须支持API 9级以下的平台,则必须使用版本25.4.0
,这是从7开始支持每个API级别的最后一个版本.
Starting with version 26.0.0 of the Support Libraries the minSdk
has been bumped to 14 (Android 4.0, see this link). If you have to support platforms down to API-Level 9 you have to use version 25.4.0
which is last one that supported every api level from 7 onwards.
注意:确实没有理由支持这种旧设备,根据最新数字,它们仅占所有设备的0.7%. (链接)
Note: There's really no reason to support such old devices, according to the latest numbers they only account for roughly 0.7% of all devices. (link)
这篇关于最低SDK 9的应用兼容版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!