Open the modified build.gradle file again. Click Sync Now in the upper right corner and wait until synchronization is complete.