DSBridge-Android
DSBridge-Android copied to clipboard
Call failed:The parameter of "%s" in Java is invalid.
Call failed:The parameter of "%s" in Java is invalid.
这句提示建议改成:函数未注册或你的代码有异常,错误原因:e.getCause().getMessage()。
因为异常可能是上层引发的,不一定是函数没有注册,我误以为没注册好几次了,我这边已经手动强化了这个提示。
`
Log.e(LOG_TAG,"=======DWebView发生了异常======="); Log.e(LOG_TAG,"可能原因:函数未注册或你的上层代码存在异常,请查看'异常细节'"); Log.e(LOG_TAG,"异常细节:"+e.getCause().getMessage()); Log.e(LOG_TAG,"↓↓↓↓↓下边是堆栈细节输出↓↓↓↓↓"); e.printStackTrace(); return ret.toString();
`

可以提个pr