微信Android SDK提示com.tencent.mm.plugin.openapi.Intent.ACTION_REFRESH_WXAPP
2017-08-29 19:06
1981 查看
这个问题还真的挺坑的,微信sdk给的Demo中 manifest.xml没有下面红色的内容造成的,添加后即可解决此问题
<!-- wxpay-->
<activity
android:name=".wxapi.WXPayEntryActivity"
android:exported="true"
android:launchMode="singleTop"
>
</activity>
<receiver android:name=".wxapi.AppRegister"
android:permission="com.tencent.mm.plugin.permission.SEND">
<intent-filter>
<action android:name="com.tencent.mm.plugin.openapi.Intent.ACTION_REFRESH_WXAPP" />
</intent-filter>
</receiver>
<!-- wxpay-->
<activity
android:name=".wxapi.WXPayEntryActivity"
android:exported="true"
android:launchMode="singleTop"
>
</activity>
<receiver android:name=".wxapi.AppRegister"
android:permission="com.tencent.mm.plugin.permission.SEND">
<intent-filter>
<action android:name="com.tencent.mm.plugin.openapi.Intent.ACTION_REFRESH_WXAPP" />
</intent-filter>
</receiver>
相关文章推荐
- Failed to resolve: com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+
- 微信Failed to resolve: com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+
- Error:(63, 13) Failed to resolve: com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+
- Could not find any matches for com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+ as no version
- Could not find any matches for com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+ as no versions处理
- Failed to resolve 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+ 微信支付依赖异常
- Error:No cached version listing for com.tencent.mm.opensdk:wechat-sdk-androi
- Failed to find provider info for com.tencent.mm.sdk.plugin.provider
- Google vr -Android SDK API-com.google.vr.sdk.base--overview
- eclipse 错误提示API level 11 (current min is 8)android.app.Activity#getActionBar解决办法
- 【Android】图片剪裁类库,解决com.android.camera.action.CROP在4.4版本以上遇到的intent类型问题
- android studio 启动提示Plugin com.intellij failed to initialize and will be disabled: null的解决方法
- Error:(171, 0) No such property: sdkHandler for class: com.android.build.gradle.LibraryPlugin
- android开发里跳过的坑-AS导入NDK工程提示错误 No such property: sdkHandler for class: com.android.build.gradle.Librar
- android studio ,gradle 导入项目 常见错误 错误提示:Error:(2, 0) Plugin with id ‘com.github.dcendents.Android-mave
- 解决微信分享SDK,混淆报错Can't process class [com/tencent/wxop/stat/al.class] 以及 proguard.jar版本不匹配的问题 proguar
- 2D高德Android地图SDK 新手入门的com.amap.api.maps.MapView的坑
- 解决导入项目提示Plugin with id 'com.github.dcendents.android-maven' not found.
- ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.helloa
- TencentOpenAPI SDK接入与API注意事项