Android Studio Update 3.2.1

北慕城南 提交于 2019-12-13 20:26:53

问题


Just updated to 3.2.1 Android Studio

And i get the following errors when i try to run the app

Before the update everything was fine.


回答1:


Try to:

Build->Clean Project Then File->Invalidate Caches/Restart...->Invalidate and restart

If this doesn't work then Try Tools > Android > Sync Project with Gradle Files

Still not working then its time to get brutal.

File->Close Project.

Backup the project.

Get rid of the build/ directory (if you have one at the top and/or module levels) and the .gradle/ directory along with .idea/, build/, and .gradle/ of a project copy, then import it again.

And if this doesn't work.

Delete the same files again and also the .iml file from the project folder. Then, import the project using "Import Project(Gradle, Eclipse ATD..." from the welcome dialog that appeared when you chose Close Project earlier.

Don't forget to cross your finger while doing all of this.



来源:https://stackoverflow.com/questions/52911525/android-studio-update-3-2-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!