简体   繁体   English

Android Studio更新(3.1.2)-整个项目陷入困境

[英]Android Studio Update (3.1.2) - Entire Project Messed up

I just updated to Android Studio 3.1.2. 我刚刚更新到Android Studio 3.1.2。 After loading, I noticed that a lot of my code is in red. 加载后,我注意到很多代码都是红色的。 Unresolved symbols apparently. 显然未解决的符号。 I have no idea how to fix this. 我不知道该如何解决。 I have been working on this for the last year and now can't do anything after the update. 去年我一直在努力,现在更新后什么也做不了。 Please help me out. 请帮帮我。

This is just one of my classes. 这只是我的课程之一。

在此处输入图片说明

I'm unsure of what my previous gradle version was, but now it is at 4.4, if that helps. 我不确定我以前的gradle版本是什么,但是如果有帮助,现在是4.4。

Try: 尝试:

1) Build > Clean Project 2) File -> Invalidate Caches/Restart 1)构建>清理项目2)文件->使缓存无效/重新启动

Hope will help you. 希望会对您有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM