调用android微信sdk分享成功后闪退

调用android微信SDK,分享到朋友圈,已经拉取到微信朋友圈界面,点击发送后,出现闪退。然后打开微信,查看朋友圈,能看到分享的东西。但是不知道为什么点完发送就闪退了,经过log跟踪,发现下面调用SendAuth.Resp newResp = (SendAuth.Resp) resp; 这一行的时候出现的闪退,因为log到这一行下面不再打印了。有知道原因的么?请求协助啊

public void shareGetMoneyResult(String result,BaseResp resp , String appId){
System.out.println(“shareGetMoneyResult—result:”+result);
JSONObject jsonresult = new JSONObject();
System.out.println(“shareGetMoneyResult— nowShareId:”+nowShareId);
try {

		SendAuth.Resp newResp = (SendAuth.Resp) resp;

请问下 lz 解决了吗?

分享的时候这样强转必定报错,如果你要看到分享成功 信息就再 resp 里面