...
:app:transformClassesWithDesugarForDebugException in thread "main" java.lang.IllegalArgumentException
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:108)
at com.google.devtools.build.android.desugar.DefaultMethodClassFixer$DefaultMethodFinder.visit(DefaultMethodClassFixer.java:471)
After this error is generated, the project is broken beyond repair... some critical platform jar files (firebase jar, R.*) have been removed so it is not possible to fix it removing pushwoosh plugin. So, to fix it:
The conflict is not found in a project without cordova-plugin-health plugin... so I guess that the condition is only found when Google Play Services and pushwoosh plugin collide.
Hi,
I've been debugging an issue previously reported in #283 and #284.
The problem is caused by the pushwoosh-phonegap-plugin in a project that has Google Play Services.
This is how I have been able to reproduce the issue:
... :app:transformClassesWithDesugarForDebugException in thread "main" java.lang.IllegalArgumentException at com.google.common.base.Preconditions.checkArgument(Preconditions.java:108) at com.google.devtools.build.android.desugar.DefaultMethodClassFixer$DefaultMethodFinder.visit(DefaultMethodClassFixer.java:471)
After this error is generated, the project is broken beyond repair... some critical platform jar files (firebase jar, R.*) have been removed so it is not possible to fix it removing pushwoosh plugin. So, to fix it:
The conflict is not found in a project without cordova-plugin-health plugin... so I guess that the condition is only found when Google Play Services and pushwoosh plugin collide.