项目从其他地方复制了很多类过来,部分类所有引用都有了,但是还是爆红:cannot access xxx,重启idea后无效。 解决办法:File -> Invalidate Caches -> Invalidate and Restart
评论区