proguardRelease FAILED when compiling apk with assembleRelease in Android Studio

前端 未结 5 1985
感动是毒
感动是毒 2020-12-15 15:04

I\'m trying to compile my app as assembleRelease in Android Studio 1.0.1 and get the following message:

FAILURE: Build failed with an exception.

* What went         


        
5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-15 15:42

    I had the same problem with Gradle 1.1.0. It remembered some old class references which I have moved, and I couldn't build apk.

    Try Build > Clean.

    It helped me, and now I can build apk again.

提交回复
热议问题