cannot find symbol in Android Studio without rebuilding project

前端 未结 8 1642
眼角桃花
眼角桃花 2021-01-01 12:01

When I try to deploy my project to the emulator the compile fails with a bunch of Cannot find symbol errors. I have to rebuild the project then deploy everytime I make a cha

8条回答
  •  被撕碎了的回忆
    2021-01-01 12:32

    I used the following answer and it worked great:

    https://stackoverflow.com/a/19223269/1531683

    You can do "File" -> "Invalidate Caches...", and select "Invalidate and Restart" option to fix this.

提交回复
热议问题