I am facing below exception:
Execution failed for task ':app:kaptDebugKotlin'.
A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution java.lang.reflect.InvocationTargetException (no error message)
and --scan gives below:
The build scan was not published due to a configuration problem.
The Gradle Terms of Service have not been agreed to.
For more information, please see https://gradle.com/help/plugin-terms-of-service.
Alternatively, if you are using Gradle Enterprise, specify the server location. For more information, please see https://gradle.com/help/plugin-enterprise-config.
i have just updated to android studio 4.0 and from then facing above issue. Any help much appreciated.
It turns out that my sub-modules had some issue to update them even though everything was up to date. When i did it one more time this above error disappeared! Weird that the error i got, to the error studio has shown was nowhere close!!! it don't even shows where the error many of the times.