Android Studio suddenly cannot resolve symbols

后端 未结 28 3134
南笙
南笙 2020-11-22 04:42

Android Studio 0.4.2 was working fine and today I opened it and almost everything was red and the auto-completion had stopped working. I look at the imports and AS seems to

28条回答
  •  天命终不由人
    2020-11-22 05:03

    You've already gone down the list of most things that would be helpful, but you could try:

    • Exit Android Studio
    • Back up your project
    • Delete all the .iml files and the .idea folder
    • Relaunch Android Studio and reimport your project

    By the way, the error messages you see in the Project Structure dialog are bogus for the most part.

    UPDATE:

    Android Studio 0.4.3 is available in the canary update channel, and should hopefully solve most of these issues. There may be some lingering problems; if you see them in 0.4.3, let us know, and try to give us a reliable set of steps to reproduce so we can ensure we've taken care of all code paths.

提交回复
热议问题