Maybe you have external libs being packaged into your apk by Android Studio.

On Wed, Sep 30, 2015 at 5:45 PM, Justin Anderson <[email protected]>
wrote:

> Have you tried looking at the contents of the .apk and comparing it with
> one of your older .apk files built from eclipse?
>
> On Wed, Sep 30, 2015 at 11:22 AM Faust Nijhuis <[email protected]>
> wrote:
>
>> I imported all my apps from Eclipse to Android studio and all of them are
>> much bigger (5 to 7 times)
>>
>> I use proguard and minify and Zip Align Enabled
>> (I use only the default proguard rules)
>>
>> How is it possible that apps build with Android studio are so much bigger
>> ?
>>
>> build.gradle:
>>
>> apply plugin: 'com.android.application'
>>
>> android {
>>     compileSdkVersion 23
>>     buildToolsVersion "23.0.0"
>>
>>     defaultConfig {
>>         applicationId "mwave.led_resistor"
>>         minSdkVersion 14
>>         targetSdkVersion 18
>>
>>     }
>>     buildTypes {
>>         release {
>>             minifyEnabled true
>>             proguardFiles getDefaultProguardFile('proguard-android.txt'), 
>> 'proguard-rules.pro'
>>         }
>>         debug {
>>             minifyEnabled false
>>         }
>>     }
>> }
>>
>> dependencies {
>>     compile fileTree(dir: 'libs', include: ['*.jar'])
>>     compile 'com.google.android.gms:play-services-ads:+'
>>     compile 'com.android.support:support-annotations:23.0.1'
>> }
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Android Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to