Skip to content Skip to sidebar Skip to footer

Android Proguard Failing With "value 'i' Is Not A Reference Value"

I recently added a library to my app ('GNSDK' by Gracenote) and am now trying to build the app for release using Proguard. I successfully built and installed the release version o

Solution 1:

I found that this is a bug in Proguard: https://sourceforge.net/p/proguard/bugs/573/

Looks like it will be released soon. In the meantime, you can work around by adding:

-optimizations !class/unboxing/enum

to your proguard file.

Solution 2:

For what it's worth, I found this for a java project. I was running proguard targeting 1.8 when it should have been 1.9. Once I changed it it worked.

Post a Comment for "Android Proguard Failing With "value 'i' Is Not A Reference Value""