cannot find symbol in Android Studio without rebuilding project

前端 未结 8 1632
眼角桃花
眼角桃花 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:46

    Adding the following into the dependencies worked for me:

    compile 'com.android.support:appcompat-v7:20.+' compile 'com.android.support:support-v4:21.0.0'

    0 讨论(0)
  • 2021-01-01 12:47

    As a workaround, deleting the out folder before rebuilding the project solves the problem!

    0 讨论(0)
提交回复
热议问题