App Crashing With Proguard Enabled

后端 未结 2 915
忘掉有多难
忘掉有多难 2021-01-02 19:50

My app runs perfectly without proguard enabled but when I enable it the app crashes right away. I have tried many combinations in the configuration to no avail.

Is t

2条回答
  •  囚心锁ツ
    2021-01-02 20:28

    Usually proguard removes few classes if they are not explicitly set as

    -keepclassmembers ....
    

    But such errors are shown as classNotFound, NoSuchMethodException etc..,

    Anyways decode the log cat you got using this and check what actually caused the NPE.

提交回复
热议问题