cannot resolve symbol R

之前使用R.xxx都没问题,突然R就报红了,网上说:修改Android stuio安装路径(E:\ProgramFiles\Android\AndroidStudio\bin)下的idea.properties文件的idea.max.intellisense.filesize=2500为idea.max.intellisense.filesize=5000,然后重启,但是我问题并没有解决。

最后才发现,直接 Build→Clean Project就轻松搞定了!

猜你喜欢

转载自blog.csdn.net/yanmuchen/article/details/85061789