android厂商推送运行报错

用户7453877
2023-10-19 10:44 63 1

报错信息:
/Users/fanjiapeng/develop/android/workspace/aidance/android/app/src/debug/AndroidManifest.xml:15:9-21:19 Error:
android:exported needs to be explicitly specified for element <service#cn.jpush.android.service.PluginOppoPushService>. Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
/Users/fanjiapeng/develop/android/workspace/aidance/android/app/src/debug/AndroidManifest.xml:22:9-28:19 Error:
android:exported needs to be explicitly specified for element <service#com.heytap.msp.push.service.CompatibleDataMessageCallbackService>. Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
/Users/fanjiapeng/develop/android/workspace/aidance/android/app/src/debug/AndroidManifest.xml:29:9-36:19 Error:
android:exported needs to be explicitly specified for element <service#com.heytap.msp.push.service.DataMessageCallbackService>. Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
/Users/fanjiapeng/develop/android/workspace/aidance/android/app/src/debug/AndroidManifest.xml:12:9-18:20 Error:
android:exported needs to be explicitly specified for element <receiver#cn.jpush.android.service.PluginVivoMessageReceiver>. Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.

集成的厂商推送版本:
null

这个怎么解决呢?
只能回退gradle android版本吗?我这边现在是这样的

classpath 'com.android.tools.build:gradle:7.4.2'
        minSdkVersion 24
        targetSdkVersion 33

1个回答

热门排序