android 极光IM初始化报错

dfx676300
2019-10-22 02:32 613 0

E/JIGUANG-JMessage: [PluginWhichPlatform] cn.jpush.android.thirdpush.xiaomi.XMPushManager
E/JIGUANG-JMessage: [PluginWhichPlatform] cn.jpush.android.thirdpush.huawei.HWPushManager
E/JIGUANG-JMessage: [PluginWhichPlatform] cn.jpush.android.thirdpush.meizu.MeizuPushManager
E/JIGUANG-JMessage: [PluginWhichPlatform] cn.jpush.android.thridpush.oppo.OPushManager
E/JIGUANG-JMessage: [PluginWhichPlatform] cn.jpush.android.thirdpush.fcm.FCMPushManager
D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:notification_state
D/JIGUANG-JMessage: [b] processIMData type : push_login_status_changed
D/JIGUANG-JMessage: [RequestingThread] Action - onLoggedIn

以下是我的配置

```
Application:
JMessageClient.init(this);
JMessageClient.setDebugMode(true);
//设置Notification的模式
JMessageClient.setNotificationFlag(JMessageClient.FLAG_NOTIFY_WITH_SOUND | JMessageClient.FLAG_NOTIFY_WITH_LED | JMessageClient.FLAG_NOTIFY_WITH_VIBRATE);
build.gradle:
manifestPlaceholders = [
JPUSH_PKGNAME : applicationId,
JPUSH_APPKEY : "c8377569a60aba1fa59995f6", //JPush上注册的包名对应的appkey.
JPUSH_CHANNEL : "developer-default", //暂时填写默认值即可.
]

    ndk {
        //选择要添加的对应cpu类型的.so库。
        abiFilters 'armeabi', 'armeabi-v7a', 'armeabi-v8a', 'x86', 'x86_64', 'mips', 'mips64'
    }

//极光IM
implementation 'cn.jiguang.sdk:jmessage:2.9.0' // 此处以J
implementation 'cn.jiguang.sdk:jcore:2.0.0'
以及 manifest:





1个回答

热门排序
  • dfx676300
    2019-10-22 02:38
    <service android:name=".app.tool.service.JMessageService" android:enabled="true" andro 展示全部