Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

APK size is bigger than expected - android studio

My project content size like this,

  1. Main Project (Source & asset size 513KB)
  2. Module 1 (Source & asset size 135KB)
  3. Module 2 (Source & asset size 80KB)

And the apk (signed, debug both) size is 4.87MB. Also tried ProGuard nothing changed.

I do not understand the reason of this. Even I have not added any jar file to my project.

like image 465
asish Avatar asked Feb 27 '14 09:02

asish


1 Answers

There are 2 build variants, for Debug and for Release. Default build option is for Debug which makes size big.

Check this answer : How to use the ProGuard in Android Studio?

like image 138
Jemshit Iskenderov Avatar answered Oct 13 '22 23:10

Jemshit Iskenderov