kotlin-compile-testing
kotlin-compile-testing copied to clipboard
resolver.getSymbolsWithAnnotation return null
this return false lead to getSymbolsWithAnnotation return null
annotationType.resolveToUnderlying() return ERROR TYPE
What is the reason for this? The AS Rebuild Project does not make this error Android Studio Hedgehog | 2023.1.1 Runtime version: 17.0.7+0-b2043.56-10550314 amd64 ksp: 1.9.22-1.0.16 com.github.tschuchortdev:kotlin-compile-testing-ksp:1.5.0
I don't see how this is related to the KCT library. Can you provide more information? Perhaps the annotated class is not on the classpath.
@Mao0509 I had the same problem, in the end inheritClassPath = true fixed it.