https://kotlinlang.org logo
Title
c

ck

02/13/2019, 1:26 PM
Has anyone had troubles with ProGuard after adding Coroutines? After adding the Coroutines dependency I am getting this ProGuard error message when building:
Shrinking...

Removing unused program classes and class elements...
  Original number of program classes: 9596
  Final number of program classes:    9596

Obfuscating...

Printing mapping to [/Users/jenkins/Public/workspace/Android-App_ck_ANDROID-313/app/build/outputs/mapping/playStore/release/mapping.txt]...

Warning: Exception while processing task java.io.IOException: java.util.EmptyStackException
Thread(Tasks limiter_1): destruction

> Task :app:transformClassesAndResourcesWithProguardForPlayStoreRelease FAILED
FAILURE: Build failed with an exception.
l

louiscad

02/13/2019, 7:00 PM
I personally use R8
With AGP 3.3.1
c

ck

02/14/2019, 8:50 AM
For anyone experiencing the same: I was using the ProGuard version 6.1.0beta2, switching back to 6.0.3 fixed this