Skip to content

Unable to resolve references on Android Studio 4.0.1 #1773

@vincent-paing

Description

@vincent-paing

Codes are generated, and can be consumed using manually typing out imports, functions, field. etc. However, Android Studio 4.0.1 is not recognizing it as source directory.

Environment:
Android Studio 4.0.1
Gradle 6.1.1
Wire version : 3.2.2

I've tried

  • Invalidate Cache & Restart
  • Deleting .gradle folder
  • Deleting .idea folder

Work around:
Manually marking source/generatedwire/ as generated source root directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions