Ambiguous method overloading for method com.google.android.gms.oss.licenses.plugin.LicensesTask_Decorated#addLicensesFromPom
See original GitHub issueI 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 https://github.com/google/play-services-plugins/issues/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
Issue Analytics
- State:
- Created 4 years ago
- Reactions:12
- Comments:6
Top Results From Across the Web
android - Gradle fails with "Ambiguous method overloading for ...
Ambiguous method overloading for method java.io.File#. Cannot resolve which method to invoke for [null, class java.lang.String] due to ...
Read more >Ambiguous method overloading for method java.io.File#<init ...
Issue 36996225 · Gradle plugin: Ambiguous method overloading for method java.io.File#<init>. · Issue metadata.
Read more >Include open source notices | Google Play services
To comply with the license requirements of open source libraries, you as a developer are responsible for appropriately displaying the notices for the...
Read more >[midPoint] Ambiguous method overloading - Mailing Lists
GroovyRuntimeException(Ambiguous method overloading for > method > org.identityconnectors.common.security.SecurityUtil#decrypt.
Read more >Simple Display of Open Source License Info? | by Nate Ebel
Apply the plugin by adding the following line: apply plugin: 'com.google.gms.oss.licenses.plugin' · Declare the library dependency: compile 'com.google.android.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I’m facing the same issue too 😢
I am facing same issue🤮🤮🤮