如果明明有这个类存在但仍然提示cannot access,这可能是IDE的bug,可以清除缓存并重启: 尝试 File->Invalidate Caches /Restart ... 每日学习笔记,写于2020-05-14 星期四