Open AlfredAndroidTedmob opened 2 years ago
Thanks for opening this issue. This was really hard to find; had to gradually remove the Gradle plugins and of course it was OneSignal.
@jkasten2 do you have an ETA for a fix?
Any updates?
Same problem!!
Project Setup
build.gradle
(some information changed or removed because this is our company's code)app/build.gradle
(some information changed or removed because this is our company's code)Full Error
dagger-2.40-syncing-issue
Short version
On gradle sync, the compiler is failing and returning an error about a missing build variant:
What happened
I have raised the issue on Dagger's github project (Dagger issue #2990), and I was pointed out to remove plugins one by one, and turning off the OneSignal gradle plugin (and adding the necessary play-services-base) resulted in a successful gradle sync. I was also pointed out to the following issue: Dagger issue #2744, where "resolving dependencies during task execution" might be the problem.
I will copy the other important parts of the discussion here (sorry, I was not able to add everything inside the quote):
Please find the proposed solution by @danysantiago for the
oss-licenses-plugin
here: Issue #2774 solution. It may be related to when the dependencies are being checked.