Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolver.getSymbolsWithAnnotation return null #395

Open
Mao0509 opened this issue Jan 3, 2024 · 1 comment
Open

resolver.getSymbolsWithAnnotation return null #395

Mao0509 opened this issue Jan 3, 2024 · 1 comment

Comments

@Mao0509
Copy link

Mao0509 commented Jan 3, 2024

image
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

@tschuchortdev
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants