This version of Android Studio is incompatible with the Gradle Plugin used. Try

 

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

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326168952&siteId=291194637