ojonugwa ochalifu ojonugwa ochalifu - 1 year ago 154
Android Question

Syncing Android Studio project with Gradle files

I was working on a project, and then I got a prompt to update Android Studio. After I did that, 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 solve this?

Answer Source

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

Tools -> Android -> Sync Project with Gradle Files

If that fails, try running 'Rebuild project':

Build -> Rebuild Project

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download