Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Talk about still using minSdkVersion=7
Search
Hideyuki Kikuma
August 02, 2018
Programming
1
560
Talk about still using minSdkVersion=7
Hideyuki Kikuma
August 02, 2018
Tweet
Share
More Decks by Hideyuki Kikuma
See All by Hideyuki Kikuma
Implementation of API call state using sealed class
hidey
2
2.7k
AndroidとIPv6
hidey
1
1.2k
Other Decks in Programming
See All in Programming
ThorVG Viewer In VS Code
nors
0
770
Architectural Extensions
denyspoltorak
0
280
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
190
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.9k
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
190
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
4
270
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
110
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
160
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6k
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
220
CSC307 Lecture 07
javiergs
PRO
0
550
Featured
See All Featured
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
140
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Building Adaptive Systems
keathley
44
2.9k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
So, you think you're a good person
axbom
PRO
2
1.9k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
140
Claude Code のすすめ
schroneko
67
210k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
51
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
120
Git: the NoSQL Database
bkeepers
PRO
432
66k
The Cult of Friendly URLs
andyhume
79
6.8k
Transcript
minSdkVersion=7 の リポジトリをメンテした時の話
@hidey 菊間英行
この前にAndroidXの話とかしてるのに?
普段メンテしてるアプリの minSdkVersionいくつですか? • 26(8.0)以上 • 21(5.0)以上 • 19(4.4)以上 • 16(4.1)以上
• 14(4.0)以上 • それ未満
普段メンテしてるアプリの minSdkVersionいくつですか? • 26(8.0)以上 • 21(5.0)以上 • 19(4.4)以上 • 16(4.1)以上
• 14(4.0)以上 • それ未満 ←今日は主にここの話
minSdkVersionの意味 • サポート対象のバージョンを絞ることで、昔はなかったAPIが使えるようになる • support-libraryのminSdkVersionが14なので、それ未満のアプリのメンテは ちょっとつらそう • aarなライブラリにもminSdkVersionがあるんです
LibraryのminSdkVersionの方が上の場合 Manifest merger failed : uses-sdk:minSdkVersion 7 cannot be smaller
than version 14 declared in library [ライブラリ名] /.../AndroidManifest.xml Suggestion: use tools:overrideLibrary="ライブラリ名" to force usage 警告が出てbuildが通らない use tools:overrideLibrary を書けばbuildは通るけど、使えない APIにアクセスすると落ちます
意外と知らないminSdkVersion • v4 compat Library 24.+が使えない(minSdk=9) • v7 appcompat Library
24.+が使えない(minSdk=9) • ConstraintLayoutが使えない(minSdk=9) • Design Support Library 24.+が使えない(minSdk=9) • Percent Support Library 24.+ が使えない(minSdk=9) • Custom Tabs Support Libraryが使えない(minSdk=15) • Espresso2.+が使えない(minSdk=8) ◦ 3系だとminSdk=9
意外と知らないminSdkVersion • Google Play Services 6+が使えない(minSdk=9) • RxAndroidが使えない(minSdk=9) • Crashlyticsが使えない(minSdk=9)
• Timber 4.+が使えない(minSdk=9) • Stetho 1.4.+が使えない(minSdk=9) • Glideが使えない(minSdk=14) • DaggerAndroidが使えない(minSdk=14) ◦ ただしDagger2だけを使うなら使える •
minSdkVersion 7でも使えたもの • aarじゃなくてjarなもの ◦ RxJava ◦ OkHttpClient ◦ Retrofit
• kotlin • MultiDexSupport Library • サポートライブラリの24.0未満
LibraryのminSdkVersionも意識する • minSdkVersion 14未満はSupport Library等のサポートがないのでやるならか なりきつい • 自分がLibraryを書く時は、そのminSdkVersionが高いと使ってもらえないことも ある
ご清聴ありがとうございました