Blankeer / WechatBotXposed

微信回复机器人,Xposed模块
377 stars 137 forks source link

微信6.6.6、6.6.7运行出错,不知道怎么排除。 #7

Open zmrbak opened 6 years ago

zmrbak commented 6 years ago

06-02 11:49:12.703 3077-3077/? I/Xposed: Wechat SpellBook: 1 plugins, 1 hookers. 06-02 11:49:16.962 3077-3114/? E/Xposed: kotlin.KotlinNullPointerException at com.blanke.wechatbotxposed.hook.Classes$NetSceneSendMsg$2.invoke(Classes.kt:21)

// 发送消息的封装类,可以 hook 消息目的地 val NetSceneSendMsg: Class<*> by wxLazy("NetSceneSendMsg") { findClassesFromPackage(wxLoader!!, wxClasses!!, "$wxPackageName.modelmulti") .filterByField("java.util.List") .filterByField("long") .filterByMethod(C.String, C.String, C.Object, C.Int) .filterByMethod(C.Int, "getType") .firstOrNull() }

GNOSOAB commented 6 years ago

解决了吗?是这两个的name变了吗