Error running app:this version of Android Studio is incompatible with the Gradle Plugin used. Try disabling Instant Run.

Source: Internet
Author: User

Transferred from: http://blog.csdn.net/qq_15807167/article/details/51984920

Reference: http://stackoverflow.com/questions/35202541/ THIS-VERSION-OF-ANDROID-STUDIO-IS-INCOMPATIBLE-WITH-THE-GRADLE-VERSION-USED-TRYSTEP1:

Disable Instant run, cancel all the selected items in Settings/preferneces > Build, execution, Deployment option > Instant Run

Step2:

Update the URL for gradle services: in Gradle>wrapper>gradle-wrapper.properties in the project directory

Distributionurl=https://services.gradle.org/distributions/gradle-2.10-all.zip

Updated to:

Distributionurl=https://services.gradle.org/distributions/gradle-2.11-all.zip

Step3:

Delete the build folder under Project

STEP4:

Clean project, recompile run program.

Error running app:this version of Android Studio is incompatible with the Gradle Plugin used. Try disabling Instant Run.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.