ojonugwa ochalifu ojonugwa ochalifu - 10 months ago 58
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?


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