Support Topics Documentation Slack YouTube Blog

BackendlessFCMService is not assignable

Hello,
I get this error in AndroidManifestr file:
‘com.backendless.push.BackendlessFCMService’ is not assignable to ‘android.app.Service’ less… (Ctrl+F1)
Inspection info: Validates resource references inside Android XML files.

My backendless SDK in build.gradle file:

      implementation  "com.backendless:backendless:5.3.0"

        // required for real-time database and real-time messaging
        implementation('io.socket:socket.io-client:1.0.0') {
            // excluding org.json which is provided by Android
            exclude group: 'org.json', module: 'json'
        }

please attach your full manifest file

make sure that you have added the following

implementation 'com.google.firebase:firebase-core:16.0.5'
implementation 'com.google.firebase:firebase-messaging:17.3.4'

step 4 in the doc https://backendless.com/docs/android/push_push_notification_setup_androi.html

@saeed_noshadi is your problem resolved?

yes i changed google version in build.gradle(project) and solved it