同步的Android Studio项目与摇篮文件 [英] Syncing Android Studio project with Gradle files
本文介绍了同步的Android Studio项目与摇篮文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在做一个项目,然后我得到一个提示,更新的Android 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':
构建 - >重建项目
这篇关于同步的Android Studio项目与摇篮文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文