ojonugwa ochalifu ojonugwa ochalifu - 5 months ago 15
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
Error

It says


The project may need to be synced with Gradle files


How do I solve this?

Answer

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

Comments