Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Android App Size down
Search
sobaya
December 17, 2019
Programming
190
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Android App Size down
This is a method of data reduction for Android applications.
sobaya
December 17, 2019
More Decks by sobaya
See All by sobaya
会社紹介20251001
spbaya0141
0
46
会社説明20250704
spbaya0141
0
51
酒飲んでたらテックリードになった話
spbaya0141
0
540
とある大喜利会社の戦略
spbaya0141
0
260
KMPナニモワカラナイ
spbaya0141
1
460
そば屋のひとりごと(KMP関連の雑な話し)
spbaya0141
0
700
JetpackSecurityを今さら学んでみた
spbaya0141
0
490
日本三大何をしているか分からない企業の育児制度
spbaya0141
0
1.2k
僕が考えた超最強のKMMアプリの作り方
spbaya0141
0
640
Other Decks in Programming
See All in Programming
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
940
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
500
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
160
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
2
630
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
270
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
220
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
210
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
1k
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
380
Jetpack Compose Mechanisms
skydoves
3
820
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
440
Railsバージョンを4倍にした話
optim
0
420
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
530
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
580
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
It's Worth the Effort
3n
188
29k
Building Applications with DynamoDB
mza
96
7.2k
The Curse of the Amulet
leimatthew05
3
16k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
370
Transcript
僕もアプリもダイエット
自己紹介 Twitter: @sobaya15 Github: @sobaya-0141 Qiita: @sobaya Android iOS
やることリスト ・Android Size Analyzerで確認 ・AppBundle対応 ・shrinkResourcesを有効化 ・まとめ
Android Size Analyzer
None
None
Android Size Analyzerの実行結果 ・画像をWebP形式にしたらいかがでしょう?(ワンタッチで変換してくれる) ・重いファイルはdynamic-featureモジュールに入れられない?
shrinkResources build.gradleに’shrinkResources true’を書くとres配下の不要なファイルを消してくれ ます。 ※proguardやR8のコード圧縮後に不要ファイルを検出して削除してくれます。 失敗して不要じゃないファイルも消してくれるお茶目な一面もあるようです。
AppBundle 映画.com/映画.now/OSORE ZONEの3アプリでAppBundleを利用中 ・5〜10MBくらいダイエットに成功 ・ついでに動作速度もアップ ⇛ディレクターと体感1.5倍速になったよね〜話したくらい実感できます。 ※レイアウト崩れが起きたと言う情報は見た事あります。 ‘./gradlew bundle’でaabファイルを作成して公開するだけ!!
まとめ ローリスクハイリターンのオススメは ・appBundle対応 try { ・画像ファイルのWebP化
オチ } catch(e: 場の空気ヤバイException) { Timber.e(“思ってたよりヤバイ”) }finally { 次のページ() }
補足 https://www.youtube.com/watch?v=rEuwVWpYBOY ・世界中のAndroid端末のうち10台に3台はストレージ残容量が 1GB未満 ・(統計では)3MBアプリの容量を減らすと 1%インストール数を増やす事ができる