DSBridge-Android icon indicating copy to clipboard operation
DSBridge-Android copied to clipboard

Call failed:The parameter of "%s" in Java is invalid.

Open flydream3618 opened this issue 6 years ago • 1 comments

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();

`

image

flydream3618 avatar Jan 16 '19 08:01 flydream3618

可以提个pr

wendux avatar Feb 22 '19 12:02 wendux