Are you sure you selected the release variant when you did your export?

On Tue, Nov 18, 2014 at 1:25 PM, Martin Rajniak <[email protected]> wrote:

> Hey,
> I have an issue when I try to update from Android Gradle Plugin 0.14.1 to
> 0.14.2. When I try to publish APK generated from Android Studio(after
> update), I get rejected with message that I am trying to upload "debuggable
> APK". Variant selected both when working in Android Studio and also when
> trying to generate APK is "Release". I have no issue when using old 0.14.1
> version.
>
> Setup:
> =====================
> Windows 8.1, 64-bit
> Android Studio 0.9.2
> Gradle 2.1
> Android Gradle Plugin 0.14.2
>
> This is snippet from the main app gradle build file:
>
>     buildTypes {
>         debug {
>             testCoverageEnabled true
>         }
>         release {
>             zipAlignEnabled true
>             minifyEnabled true
>             shrinkResources true
>             proguardFiles getDefaultProguardFile('proguard-android.txt'),
> 'proguard-rules.pro'
>             signingConfig signingConfigs.release
>             testCoverageEnabled true
>         }
>     }
>
> Thanks for any help or advise.
>
> Best,
>
> --
> You received this message because you are subscribed to the Google Groups
> "adt-dev" 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.
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" 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