Proguard - Can't find common super class / java.lang.VerifyError

后端 未结 4 1613
梦如初夏
梦如初夏 2021-01-04 00:58

We are developing a desktop application. When running ProGuard (version 5.3.3) on the code using the following configuration flags:

-dontoptimize
-allowacces         


        
4条回答
  •  借酒劲吻你
    2021-01-04 01:19

    Initialization, verification, and validation are part of the building project. I believe flag -allowaccessmodification is to allow modification when building the project (i.e. your classes are modified from the original structure). When original class structure gets modified then their stack frames are disturbed. This leads to verification failure. If you want to ignore the verify error then as mentioned you need to use the flag that suspends verification.

提交回复
热议问题