- Android12部分机型上,安卓app调起小程序出现崩溃,如何解决?
依赖: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) ...
2022-03-26 - app启动小程序 报错Permission Denial
请问这个是需要要求什么权限?如何修改? java.lang.SecurityException: Permission Denial: reading com.tencent.mm.plugin.base.stub.WXCommProvider uri content://com.tencent.mm.sdk.comm.provider/launchWXMiniprogram from pid=31336, uid=10499 requires null, or grantUriPermission() at android.os.Parcel.createExceptionOrNull(Parcel.java:2441) at android.os.Parcel.createException(Parcel.java:2425) at android.os.Parcel.readException(Parcel.java:2408) at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190) at android.database.DatabaseUtils.readExceptionFromParcel.java:142) at android.content.ContentProviderProxy.query(ContentProviderNative.java:481) at android.content.ContentResolver.query(ContentResolver.java:1237) at android.content.ContentResolver.query(ContentResolver.java:1162) at android.content.ContentResolver.query(ContentResolver.java:1118) at com.tencent.mm.opensdk.openapi.BaseWXApiImplV10.sendLaunchWXMiniprogram(Unknown Source:69) at com.tencent.mm.opensdk.openapi.BaseWXApiImplV10.sendReq(Unknown Source:369)
2022-02-14