Proguard: IllegalArgumentException - Unexpected error while evaluating instruction

后端 未结 2 1699
故里飘歌
故里飘歌 2020-12-11 18:47

I\'m trying to build a release apk with the proguard enabled. I\'m getting the error below. I will attach the full stacktrace below.

Unexpected error while e         


        
2条回答
  •  南方客
    南方客 (楼主)
    2020-12-11 19:28

    Weird solution, but I've found a way to fix it. The exact section of the code that was causing the proguard issue was separated out into a different method and at the old location that method was called. This seems to have fixed the problems, even though I'm not sure how it solved it. It just seems more and more like a Proguard bug. It works for me so that is something that others can try if they ever run into this issue.

提交回复
热议问题