Reputation: 4807
My project content size like this,
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.
Upvotes: 15
Views: 10584
Reputation: 4252
In case of a large png files existed try to enable the AAPT and use the next:
android {
…
buildTypes {
release {
crunchPngs true // or false
}
}
}
Upvotes: 1
Reputation: 10058
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?
Upvotes: 4
Reputation: 1500
Clear the project and build again. Check raw, asset folder.
Give a look at this http://developer.android.com/tools/building/index.html .
Upvotes: 2