Skip to content

Now when I'm using the latest google_sign_in_android: ^6.1.13 #125605

@MohamedSafvanKP-MSIL

Description

@MohamedSafvanKP-MSIL
          Now when I'm using the latest google_sign_in_android: ^6.1.13

Unble to sync the native Android project.
getting following errors.

1: Task failed with an exception.
-----------
* Where:
Build file '/Users/mohmedsafvankp/.pub-cache/hosted/pub.dev/google_sign_in_android-6.1.13/android/build.gradle' line: 24

* What went wrong:
A problem occurred evaluating project ':google_sign_in_android'.
> No signature of method: build_n3eadu0qz7ey661tsmy5sjq1.android() is applicable for argument types: (build_n3eadu0qz7ey661tsmy5sjq1$_run_closure2) values: [build_n3eadu0qz7ey661tsmy5sjq1$_run_closure2@73fd87a2]

* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating project ':google_sign_in_android'.
	at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)
	at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.lambda$apply$0(DefaultScriptPluginFactory.java:133)

and

Task failed with an exception.
-----------
* Where:
Script '/Users/mohmedsafvankp/flutter_sdk/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 463

* What went wrong:
A problem occurred configuring project ':google_sign_in_android'.
> Cannot invoke method substring() on null object

Originally posted by @MohamedSafvanKP-MSIL in #125482 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions