Pradeep Gupta
Pradeep Gupta

Reputation: 1770

Increased release APK size after upgrading to Android studio 2.1

APK size of APP increases from 6.9 MB to 19.9 MB.

What could be the cause of this?

Upvotes: 0

Views: 194

Answers (2)

Viral Patel
Viral Patel

Reputation: 33438

Based on our conversation on the question comments. The increased size is because of an added paypal dependency and not because of upgrading the AS 2.1.

Removing the dependency brought back your apk to the previous size. Hence the size increase is because of the added paypal dependency.

To trim it down use appropriate proguard rules such that it does not break your paypal functionality or check if there is a minimal variant available to add as depenedncy (I've not used it so cannot confirm if a minimal one exists or not)

Upvotes: 0

Pavya
Pavya

Reputation: 6025

It because of in older apk you have used jar files as comile files and in new apk you have changed to compile with path. Thats why its size was increased. specifically check for Paypal.

Upvotes: 1

Related Questions