Looks like you have sourceCompatibility and/or targetCompatibility set while also using the toolchain. You can't use both together. Not sure why it would've worked before though.
y
Yash Mittal
02/10/2024, 7:09 PM
Even commenting out both doesn't help. Got the same error.
v
Vampire
02/11/2024, 3:38 PM
Did you only not change anything in the Gradle files or also not the Gradle version?
Can you share your build?
y
Yash Mittal
02/11/2024, 5:29 PM
Its actually working now> Mostly its because of some third party library version. Upgrading version worked. Thanks.
👌 1
j
Justin Van Dort
02/12/2024, 7:47 PM
This error was removed in Gradle 8.0
y
Yash Mittal
02/14/2024, 7:32 AM
I am using gradle 8.6 still getting this problem, Can you help me solve this problem. I am getting it again @Justin Van Dort.