EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 444 forks source link

cant find class myfirebasemessagingservice #1504

Open peppeg85 opened 4 years ago

peppeg85 commented 4 years ago

hello, like the title says, i have this error:

Caused by: java.lang.ClassNotFoundException: Didn't find class "org.nativescript.plugins.firebase.MyFirebaseMessagingService"

i have these dependencies:

    "tns-ios": {
            "version": "6.2.0"
        },
        "tns-android": {
            "version": "6.2.0"
        }
    },

    },
    "dependencies": {
        "@nstudio/nativescript-loading-indicator": "^2.0.0",
        "html-entities": "^1.2.1",
        "moment": "^2.22.2",
        "nativescript-checkbox": "^3.0.3",
        "nativescript-drop-down": "^4.0.1",
        "nativescript-phone": "^1.3.1",
        "nativescript-plugin-firebase": "9.1.1",
        "nativescript-theme-core": "^1.0.4",
        "nativescript-ui-listview": "7.1.0",
        "nativescript-ui-sidedrawer": "7.0.0",
        "tns-core-modules": "6.2.3"
    },
    "devDependencies": {
        "babel-traverse": "6.4.5",
        "babel-types": "6.4.5",
        "babylon": "6.4.5",
        "lazy": "1.0.11",
        "nativescript-dev-webpack": "1.3.0"
    }
}

i tried also with the latest plugin firebase but have the same error, nativescript 6.2.0 anyone can help me? thank you

EddyVerbruggen commented 4 years ago

Can you share a repo showing the issue? Also, make sure to clean the platforms folder.