LoginSignup
4
4

More than 5 years have passed since last update.

【Android】Google I/O 2017のBest Practices to slim down your app sizeメモ

Posted at

Google I/O 2017の「Best Practices to slim down your app size」メモです。

メモ

  • サイズがでかいと20%もダウンロードキャンセルさせる
  • 100MB以上のアプリは8倍もアンインストールされやすい
  • apkサイズ削減方法
    • ProguardのminifyEnableを有効にする(classes.dexをoriginalの33%に削減)
    • shrinkResourcesを有効にする(resをoriginalの25%に削減)
    • Multiple APKを有効にする(resをoriginalの44%に削減)
    • Vector Drawableを使う

所感

アプリはres(特に画像)が大半を占めるのでそこをいかに圧縮・削減するかが大事。
今回紹介された例だとshrinkResourcesが一番効果的。

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4