You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What went wrong:
A problem occurred evaluating project ':app'.
Could not get unknown property 'gradlePluginGoogleServicesVersion' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
What is expected to happen?
Use the correct property so the build can complete
What does actually happen?
This code has been changed to be able to pass in the config defined by the preferences.
I think that it is just a forgotten property that needs changing.
Replacing line 49 from:
if(!cdvHelpers.isVersionValid(gradlePluginGoogleServicesVersion)) {
to:
if(!cdvHelpers.isVersionValid(cordovaConfig.GRADLE_PLUGIN_GOOGLE_SERVICES_VERSION)) {
fixes the issue
Command or Code
Cordova build
Version information
Cordova android 10.0.0-nightly.2021.7.17.92864963
Checklist
I searched for existing GitHub issues
I updated all Cordova tooling to most recent version
I included all the necessary information above
The text was updated successfully, but these errors were encountered:
Bug Report
Problem
When enabling the GradlePluginGoogleServicesEnabled preference the gradle build fails with the following message:
Where:
Build file 'D:\Repos\MyMES\mmMobileApp\platforms\android\app\build.gradle' line: 49
What went wrong:
A problem occurred evaluating project ':app'.
What is expected to happen?
Use the correct property so the build can complete
What does actually happen?
This code has been changed to be able to pass in the config defined by the preferences.
I think that it is just a forgotten property that needs changing.
Replacing line 49 from:
if(!cdvHelpers.isVersionValid(gradlePluginGoogleServicesVersion)) {
to:
if(!cdvHelpers.isVersionValid(cordovaConfig.GRADLE_PLUGIN_GOOGLE_SERVICES_VERSION)) {
fixes the issue
Command or Code
Cordova build
Version information
Cordova android 10.0.0-nightly.2021.7.17.92864963
Checklist
The text was updated successfully, but these errors were encountered: