代码这样:umImage = new UMImage(mContext, R.mipmap.app_activity_icon);mUMWeb = new UMWeb(shareurl);mUMWeb.setThumb(umImage);//缩略图运行:报Error:(72, 25) 错误: 不兼容的类型: UMImage无法转换为String
什么原因呢。umeng的demo没问题的
走同样的路,发现不同的人生
The reason is that the old shared SDK in the project has not been cleaned up. When running, the system finds the old method, so an error will be reported
mUMWeb.setThumb(umImage)->mUMImage.setThumb(umImage)
The reason is that the old shared SDK in the project has not been cleaned up. When running, the system finds the old method, so an error will be reported
mUMWeb.setThumb(umImage)->mUMImage.setThumb(umImage)