Good evening
i have an ionic 3 app which uses FCM for push notifications
I have the android 8 platform installed
when i try to do cordova build command i got the error:
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.
FAILURE: Build failed with an exception.
-
Where:
Script ‘C:\IONIC\AlloPressing\platforms\android\cordova-plugin-fcm-with-dependecy-updated\starter-FCMPlugin.gradle’ line: 16 -
What went wrong:
A problem occurred evaluating script.
Cannot invoke method lastIndexOf() on null object
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 1m 8s
Configure project :app
c:\IONIC\AlloPressing\platforms\android\gradlew: Command failed with exit code 1 Error output:
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.
please how to correct this?
4 posts - 2 participants