Android Studio suddenly cannot resolve symbols

后端 未结 28 2596
南笙
南笙 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:19

    I faced similar problem but I followed following steps in my case :-

    1).inside project under .idea folder open modules.xml. 2).check if there are two entries for same iml file. 3).delete one of duplicate entry and close android studio or build gradle file again.

    In my case it worked. Hope it helps

提交回复
热议问题