RE: How to reduce APK size in Android ?

  • Replies:1
  • OpenNot stickiedUnanswered
  • Forum posts: 13

Jul 11, 2016 11:40:40 PM via Website

The build log in your platform should have a section on what consumes disk space. Generally this will be media like music, and high resolution images.

For music, you could reduce the sample rate in a program like Audacity.

For images, think if a regular user looking at a 5-inch screen will actually notice a high resolution image.

  • Forum posts: 256

Jul 12, 2016 6:39:20 AM via Website

Proguard can reduce an APK-file size by cutting unused methods from source.
Use the option "minifyEnabled" in Gradle, and Proguard will do it and will obfuscate your code also.