ebelinski / apilevels

A microsite overview of all Android 🤖 versions and their corresponding API/SDK levels, version codes, codenames, and market shares.
https://apilevels.com
MIT License
225 stars 26 forks source link

Add note about minSdk 21 (AndroidX) #55

Closed TWiStErRob closed 3 months ago

TWiStErRob commented 3 months ago

Couldn't find a proper (blog) announcement but there is a big warning on the website:

image

+ PRs started failing to compile: https://github.com/TWiStErRob/android-lint-examples/pull/67

Execution failed for task '...:processDebugMainManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 21 declared in library [androidx.appcompat:appcompat-resources:1.7.0] /home/runner/.gradle/caches/8.8-rc-2/transforms/bd5f4f58eb143a6fc57ebc3ec976ba60/transformed/appcompat-resources-1.7.0/AndroidManifest.xml as the library might be using APIs not available in 14
    Suggestion: use a compatible library with a minSdk of at most 14,
        or increase this project's minSdk version to at least 21,
        or use tools:overrideLibrary="androidx.appcompat.resources" to force usage (may lead to runtime failures)
tmo1 commented 3 months ago

Couldn't find a proper (blog) announcement but there is a big warning on the website:

Apparently there hasn't been a proper announcement (nor is this mentioned in the changelogs of things like AppCompat):

https://stackoverflow.com/questions/78586493/does-appcompat-now-require-minsdkversion-21

ebelinski commented 3 months ago

Thank you!