Preparing Firebase on Android
cordova-plugin-firebasex: Preparing Firebase on Android
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=C:\Users\056-Model Ideal\AppData\Local\Android\Sdk (recommended setting)
ANDROID_HOME=C:\Users\056-Model Ideal\AppData\Local\Android\Sdk (DEPRECATED)
Subproject Path: CordovaLib
Subproject Path: app
FAILURE: Build failed with an exception.
-
Where:
Script ‘D:\unis\platforms\android\cordova-plugin-firebase\starter-build.gradle’ line: 16 -
What went wrong:
A problem occurred evaluating script.
Could not find method compile() for arguments [me.leolin:ShortcutBadger:1.1.4@aar] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
-
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 1s
D:\unis\platforms\android\gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
-
Where:
Script ‘D:\unis\platforms\android\cordova-plugin-firebase\starter-build.gradle’ line: 16 -
What went wrong:
A problem occurred evaluating script.
Could not find method compile() for arguments [me.leolin:ShortcutBadger:1.1.4@aar] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
-
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 1s
[ERROR] An error occurred while running subprocess cordova.
cordova.cmd build android exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.