1.
In Preferences > Build, Execution, Deployment option > Instant Run, disable Instant Run
2.
Change the plugin version of Gradle to the version that matches your Android Studio
3.
Delete the files in the build directory
4.
Clean Project
5
Rebuild Project OK, successful