简体   繁体   中英

Kotlin-extensions all synthetic imports unresolved

Suddenly all synthetic imports in my project became unresolved. I guess after deleting and reverting some layout file.

Project successfully builds , but everything is red and auto completion doesn't work.

What i've tried

  • Build/Clean Project / Build/Rebuild Project
  • Invalidate cache & Restart
  • Sync Gradle
  • Delete.gradle
  • Delete.idea

Versions

  • AS 4.0
  • Kotlin 1.3.72

在此处输入图像描述

Solved by deleting whole project and importing from version control.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM