forked from yangfuhai/afinal
-
Notifications
You must be signed in to change notification settings - Fork 1
混淆错误
bigkun edited this page Dec 5, 2012
·
7 revisions
使用Afinal 在混淆代码时可能会出现调用getDeclaredMethod() NoSuchMethodException异常: XXX [] 。 需要在混淆配置文件中添加以下代码:
-keepclasseswithmembers class packageName+<使用Afinal的包目录>.** {
<fields>;
<methods>;
}
例如
-keepclasseswithmembers class net.oschina.my.bigkun.database.** {
<fields>;
<methods>;
}