maoabc / nmmp

dex-vm used to protect the android classes.dex file
753 stars 263 forks source link

提交疑问 #10

Closed xigua0331 closed 3 years ago

xigua0331 commented 3 years ago

我加固成功后,fastjson不能使用了,因此json字符串转化不成对象,所有的网络请求都不能用了。我想能不能通过ProguardMappingConfig的keepClass方法来处理?

maoabc commented 3 years ago

可以啊,直接判断字符串,fastjson包名开头的返回true就行。

xigua0331 commented 3 years ago

JNI DETECTED ERROR IN APPLICATION: use of invalid jobject 0x7f9f770500