Skip to content

Incorrect annotation error for NavGraph #754

@j0ker70

Description

@j0ker70

I am getting this error inside my android studio log file:

2025-06-29 10:50:21,569 [  98386] SEVERE - #c.i.p.i.j.s.i.PsiAnnotationStubImpl - Bad annotation in jar:~/.gradle/caches/8.9/transforms/c6d2b32090d27d517bfbe4d752d2555b/transformed/jetified-core-1.9.56/jars/classes.jar!/com/ramcosta/composedestinations/annotation/RootNavGraph.class
com.intellij.util.IncorrectOperationException: Incorrect annotation '@com.ramcosta.composedestinations.annotation.NavGraph(default=true)'

I have a screen that is annotated with @RootNavGraph(start = true). However, for some reason, my code analysis in Android Studio stops. But when I remove that annotation, the code analysis works perfectly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions