收藏
回答

SecurityException报错在getTokenFromWX

问题模块 框架类型 问题类型 操作系统 操作系统版本 手机型号 微信版本
客户端 小程序 Bug Android Android 7.0 MEIZU N6 NOTE 6.5.3


Fatal Exception: java.lang.SecurityException
Requesting code from com.tencent.mm (with uid 10002) to be run in process com.xxxx.example (with uid 10001)
android.app.ActivityThread.getPackageInfo (ActivityThread.java:1707)
android.app.ActivityThread.getPackageInfo (ActivityThread.java:1683)
android.app.ContextImpl.createPackageContextAsUser (ContextImpl.java:1975)
android.app.ContextImpl.createPackageContext (ContextImpl.java:1955)
android.app.ActivityThread.installProvider (ActivityThread.java:5035)
android.app.ActivityThread.acquireProvider (ActivityThread.java:4695)
android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider (ContextImpl.java:2315)
android.content.ContentResolver.acquireUnstableProvider (ContentResolver.java:1459)
android.content.ContentResolver.query (ContentResolver.java:454)
android.content.ContentResolver.query (ContentResolver.java:407)
com.tencent.mm.opensdk.openapi.BaseWXApiImplV10.getTokenFromWX (Unknown Source)
com.tencent.mm.opensdk.openapi.BaseWXApiImplV10.sendReq (Unknown Source)
        com.xxxx.example.account.weixin.WeiXinUtils.loginByWeixin (WeiXinUtils.java:63)


最后一次编辑于  2018-12-28
回答关注问题邀请回答
收藏