oppo这个渠道怎么回事,已经完全按照规则配置的,就是一只提示没有oppo的pushservice。

用户7350502
2024-09-11 16:07 162 1

2024-09-10 00:41:55.883 22128-22356 JIGUANG-JPush W [OPushHelper] getReceiver error:java.lang.NullPointerException: Attempt to get length of null array
2024-09-10 00:41:55.883 22128-22356 JIGUANG-JPush W [OPushHelper] AndroidManifest.xml missing service extends oppo's PushService

生成的manifest文件一点问题都没有

 <service
            android:name="cn.jpush.android.service.PluginOppoPushService"
            android:permission="com.coloros.mcs.permission.SEND_MCS_MESSAGE"
            android:exported="true">

            <intent-filter>

                <action
                    android:name="com.coloros.mcs.action.RECEIVE_MCS_MESSAGE" />
            </intent-filter>
        </service>

        <service
            android:name="com.heytap.msp.push.service.CompatibleDataMessageCallbackService"
            android:permission="com.coloros.mcs.permission.SEND_MCS_MESSAGE"
            android:exported="true">

            <intent-filter>

                <action
                    android:name="com.coloros.mcs.action.RECEIVE_MCS_MESSAGE" />
            </intent-filter>
        </service>

        <meta-data
            android:name="sdkVersion"
            android:value="3400" />

1个回答

热门排序
  • 用户7350502
    2024-09-11 16:08

    oppo的渠道就一直都有问题。给的demo下载不下来库文件,没办法sync,服了。