I've been meaning to look at giving the option to manually set the proguard
version but it's non trivial.

We'll pick up 4.12 as soon as it's released.


On Thu, May 1, 2014 at 3:36 PM, Mateusz GrzechociƄski <
[email protected]> wrote:

> Hi,
>
> Android gradle plugin v0.10 has upgraded it's dependency to proguard from
> 4.10 to 4.11. After that, my project no longer obfuscates, due to the
> following exception. Reverting back to 0.9 and proguard 4.10 doesn't rise
> this exception.
>
> Unexpected error while evaluating instruction:
>   Class       = [my/project/x/AccountDetailsKey]
>   Method      = [swigToEnum$1542ff89(I)I]
>   Instruction = [55] getfield #6
>   Exception   = [java.lang.IllegalArgumentException] (Value is not a
> reference value [proguard.evaluation.value.UnknownIntegerValue])
> Unexpected error while performing partial evaluation:
>   Class       = [my/project/x/AccountDetailsKey]
>   Method      = [swigToEnum$1542ff89(I)I]
>   Exception   = [java.lang.IllegalArgumentException] (Value is not a
> reference value [proguard.evaluation.value.UnknownIntegerValue])
>
> I found similar issue here:
> http://sourceforge.net/p/proguard/bugs/505/?limit=25
> Seems like we would have a fix for that in upcoming proguard 4.12.
>
> Is there any way to change dependency for proguard version manually, or at
> least, can we count on you that you'll release 0.10.1 (or sth) with
> upgraded proguard dependency as soon as it is released?
>
> As a temporal workaround, you guys can add to your proguard-project.txt;
>
> -optimizations !class/unboxing/enum
>
> Cheers,
> Mateusz
>
> --
> 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