[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
AlbertoCamillo-LOY opened this issue Jan 14, 2020 · 6 comments · Fixed by #126

Comments

@AlbertoCamillo-LOY
Copy link

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

@mkeeda
Copy link
mkeeda commented Jan 21, 2020

I am facing same issue🤮🤮🤮

@aldoKelvianto
Copy link

Hi, I'm facing the same issue too 😢

Screen Shot 2020-01-24 at 09 15 12

@cecilcosta
Copy link

Any solutions here?

@AlbertoCamillo-LOY
Copy link
Author

Any solutions here?

None, so far

@mkeeda
Copy link
mkeeda commented Feb 18, 2020

I don't find solutions too.
So my workaround is using 0.10.0 😢

@caller9
Copy link
Collaborator
caller9 commented Mar 9, 2020

The fix was released in version 0.10.2.
https://developers.google.com/android/guides/releases#march_09_2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants