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
180
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
40
会社説明20250704
spbaya0141
0
50
酒飲んでたらテックリードになった話
spbaya0141
0
520
とある大喜利会社の戦略
spbaya0141
0
260
KMPナニモワカラナイ
spbaya0141
1
450
そば屋のひとりごと(KMP関連の雑な話し)
spbaya0141
0
690
JetpackSecurityを今さら学んでみた
spbaya0141
0
490
日本三大何をしているか分からない企業の育児制度
spbaya0141
0
1.2k
僕が考えた超最強のKMMアプリの作り方
spbaya0141
0
640
Other Decks in Programming
See All in Programming
Jetpack Compose メカニズム
skydoves
0
460
The Rails Doctrine Decade
koic
2
250
cdk deploy JawsSonic #MARATHONしながらAWSリソースをデプロイしてみよう
akihisaikeda
2
140
AWS DevOps Agentで インシデント対応をAIに任せたい
honmarkhunt
7
3.1k
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
290
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
320
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
560
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
120
App Intentsのビルドプロセスを支える技術
kntkymt
0
420
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
270
フロントエンドUIフレームワークのこれまでとこれから
ssssota
5
2.9k
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
1
500
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
280
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
240
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
First, design no harm
axbom
PRO
2
1.3k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
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%インストール数を増やす事ができる