MVPHelper插件之混淆報錯 ClassCastException: Object cannot be case to xxx

之前在android stduio裏用mvphelper自動生成,最近要發包,加了混淆 打了個release包打開直接崩了,查看日誌顯示是獲取的model爲null。 以爲是泛型的問題,但是加了過濾泛型 -keepattributes Signature 最後想了很多都是不知道爲什麼 打log跟進類的轉換 public static <T> T getT(Object o, int i) {
相關文章
相關標籤/搜索