依赖:api 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
代码:sendReq这行报错
报错机型(目前检测到有俩):
错误堆栈:
java.lang.SecurityException
Permission Denial: reading com.tencent.mm.plugin.base.stub.WXCommProvider uri content://com.tencent.mm.sdk.comm.provider/launchWXMiniprogram from pid=18617, uid=10344 requires null, or grantUriPermission()
android.os.Parcel.createExceptionOrNull(Parcel.java:2441)
android.os.Parcel.createException(Parcel.java:2425)
android.os.Parcel.readException(Parcel.java:2408)
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)
android.content.ContentProviderProxy.query(ContentProviderNative.java:481)
android.content.ContentResolver.query(ContentResolver.java:1237)
android.content.ContentResolver.query(ContentResolver.java:1162)
android.content.ContentResolver.query(ContentResolver.java:1118)
com.tencent.mm.opensdk.openapi.BaseWXApiImplV10.sendLaunchWXMiniprogram(Unknown Source:63)
com.tencent.mm.opensdk.openapi.BaseWXApiImplV10.sendReq(Unknown Source:353)
...
2023年了,这个bug还存在
请问解决了吗
线上报的,我不知道人家的微信号啊,时间点有两个
2022-03-25 20:42:47
2022-03-26 09:42:29