Android构建失败,kotlin-reflect和proguard

如果我包括kotlin-reflect ,我无法建立我的发布产品。 我试图添加到proguard配置:

 -keep class kotlin.reflect.** { *; } 

但它根本没有帮助。 这是Gradle构建的错误结果:

 Optimizing... Unexpected error while performing partial evaluation: Class = [kotlin/reflect/jvm/internal/impl/renderer/DescriptorRendererImpl] Method = [renderPossiblyInnerType(Ljava/lang/StringBuilder;Lkotlin/reflect/jvm/internal/impl/descriptors/PossiblyInnerType;)V] Exception = [java.lang.IllegalArgumentException] (Stacks have different current sizes [0] and [1]) Warning: Exception while processing task java.io.IOException: java.lang.IllegalArgumentException: Stacks have different current sizes [0] and [1] 

我正在使用kotlin 1.1.1(如果有问题,请使用gradle 3.3)