Proguard: can't find referenced class

前端 未结 5 1271
予麋鹿
予麋鹿 2021-01-04 11:00

There are a few questions around but no solution that works for me. I thought it was suppose to be easy to use. I just get a console full of can\'t find referenced cla

5条回答
  •  心在旅途
    2021-01-04 11:13

    In my case Android Studio froze while doing ProGuard on release build. I killed it. And after the restart I started to see "can't find referenced class" warnings.

    solution: I closed Android Studio, deleted .gradle folder from my project folder, then deleted gradle global cache (%USER_HOME%.gradle/caches). After reopening the project, caches was rebuild and everything started to work again.

提交回复
热议问题