Hey guys I’m install the plugin for analytics, but I have an error when I try to generate an apk.
This error:
FAILURE: Build failed with an exception.
* Where:
Build file '[app_folder]\platforms\android\build.gradle' line: 259
* What went wrong:
A problem occurred evaluating root project 'android'.
> Could not get unknown property 'GMS_VERSION' for 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.
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* Where:
Build file '[app_folder]\platforms\android\build.gradle' line: 259
* What went wrong:
A problem occurred evaluating root project 'android'.
> Could not get unknown property 'GMS_VERSION' for 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.
Picked up _JAVA_OPTIONS: -Xmx512M
[ERROR] An error occurred while running cordova build android (exit code 1).