* What went wrong: Execution failed for task ':boo...
# android
n
* What went wrong: Execution failed for task '👢transformClassesAndResourcesWithCustomProguardForRelease'.
java.io.IOException: java.lang.IllegalArgumentException: Stacks have different current sizes [1] and [0]
j
@ngubenson We have the same error and was because we added a NotImplementedException() in the code
adding this to progruard
-dontwarn sun.reflect.generics.reflectiveObjects.*
fixed the problem
n
Thanks. I don't have any NotImplementedException() . And I tried to add this to progruard
-dontwarn sun.reflect.generics.reflectiveObjects.*
, but it didn't work.
d
Try going through all your dependencies one by one looking at their docs to see what needs to be added, or maybe try -keep on all your code and see if its a lib or your code and then start narrowing down slowly adding back. I try to compile w proguard after every dependency I add, since afterwards it becomes very hard...