9

I am new to android and when I create a simple Hello World app its size is about 900 KB. But I have seen many apps on play store like Chain Reaction having size of only 200 KB. Do the default Hello World app contains some resources that I don't need? How to remove them? Any Help will be appreciated. Thanks in advance.

Saeed Jassani
  • 1,079
  • 2
  • 11
  • 27

1 Answers1

9

There're some ways to reduce the size of the output APK file:

  • Make sure there's no unused resources. You can check it using Android Lint Inspection. Just press Control + Alt + Shift + i and type "Unused resources" (without quotes). If there's unused resources, you can delete it manually.

  • Use ProGuard see here.

  • You can also combine ProGuard with Resource Shrinking. See here
Raymond Lukanta
  • 495
  • 3
  • 14