同步的Andr​​oid Studio项目与摇篮文件摇篮、文件、项目、Andr

由网友(祭魂)分享简介:我在做一个项目,然后我得到一个提示,更新的Andr​​oid Studio.After我这样做,我开始尝试运行我的应用程序时收到此错误I was working on a project, and then i got a prompt to update Android Studio.After i did this...

我在做一个项目,然后我得到一个提示,更新的Andr​​oid Studio.After我这样做,我开始尝试运行我的应用程序时收到此错误

I was working on a project, and then i got a prompt to update Android Studio.After i did this, i started getting this error when trying to run my app

报告说,项目可能需要用摇篮的文件进行同步。 我该怎么做呢?

It says the "project may need to be synced with Gradle files". How do i do this?

推荐答案

点击按钮同步工程随着摇篮文件应该做的伎俩:

Clicking the button 'Sync Project With Gradle Files' should do the trick:

工具 - > Android的 - >同步工程与摇篮文件

如果失败,尝试运行重建工程:

If that fails, try running 'Rebuild project':

构建 - >重建项目

阅读全文

相关推荐

最新文章