Android Studio ProGuard does not appear to run -


i switched on eclipse android studio in last few days , have gotten working. however, when generate signed apk appears though proguard never running.

i using generate signed apk wizard, selecting 'run proguard' , specifying proguard.cfg config file. build process runs without errors , generates functional apk, apk 65% larger 1 generated eclipse. when generate apk through android studio's apk wizard , not select 'run proguard' resulting apk same size 1 should have had proguard run on it. no mapping.txt, seeds.txt, or usage.txt generated anywhere in project directory. have tried adding

buildtypes {     release {         runproguard true         proguardfile file('proguard.cfg')         proguardfile getdefaultproguardfile('project-android.txt')     } } 

and variations build.gradle file has had no effect either.

this occurring on android studio 0.2.0, though seeing same behavior on 0.1.9. working on windows 7.

can tell me might going on? happy if find logs proguard supposed generate.

just update build.gradle

buildtypes {               release {      minifyenabled true      proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.txt'    } } 

details reference. hope helps you


Comments