Skip to content

Ambiguous method overloading for method com.google.android.gms.oss.licenses.plugin.LicensesTask_Decorated#addLicensesFromPom #120

Closed
@AlbertoCamillo-LOY

Description

I was using the plugin 'com.google.android.gms:oss-licenses-plugin:0.10.0', but I was getting the message This app does not have any open source licenses in OssLicensesMenuActivity.

I've updated the plugin version to 0.10.1 as mentioned here #105, but now the build fails.

This is the Output:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:generateLicenses'.
> Ambiguous method overloading for method com.google.android.gms.oss.licenses.plugin.LicensesTask_Decorated#addLicensesFromPom.
  Cannot resolve which method to invoke for [null, class java.lang.String, class java.lang.String] due to overlapping prototypes between:
  	[class java.io.File, class java.lang.String, class java.lang.String]
  	[class java.lang.String, class java.lang.String, class java.lang.String]

I'm using Gradle plugin 3.5.3 and Google Services 4.3.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

        翻译: