1

I have installed latest Android Studio 3.0 Canary 5

Here's the error:

Failed to apply plugin [class 'com.android.build.gradle.api.AndroidBasePlugin'] Android Gradle plugin 3.0.0-alpha5 must not be applied to project [projectPath] since version 3.0.0-alpha5 was already applied to this project.

I have tried all solutions: cleaning, rebuilding, opening/closing, Invalidate caches. But it's not working. Any solution ? Thanks in advance.

5
  • 1
    Check this answer stackoverflow.com/a/44858186/7806873 and solve your problem then delete it because possible duplicate. Commented Jul 12, 2017 at 9:00
  • I have tried. It's also not working. Commented Jul 12, 2017 at 9:09
  • 1
    Try with restart pc. Commented Jul 12, 2017 at 9:10
  • Accept as answer if it works. Commented Jul 12, 2017 at 11:14
  • Thanks a lot. I run ./gradlew --stop command on terminal. then restart my laptop. It's working fine :) Commented Jul 12, 2017 at 11:22

1 Answer 1

1

Try this way:-

1) Kill the daemons by run this command in terminal:

./gradlew --stop

2) Then restart pc or laptop.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.