UnknownPluginException: Plugin with id 'com.android.library' not found
See original GitHub issueThe default android project doesn’t seem to work for me. I get the errors:
INFO - .project.GradleProjectResolver - Gradle project resolve error
org.gradle.tooling.BuildException: Could not run build action using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.10-all.zip'.
...
Caused by: org.gradle.internal.exceptions.LocationAwareException: Build file 'blah/MyFancyLibrary/android/build.gradle' line: 2
A problem occurred evaluating root project 'android'.
...
Caused by: org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'android'.
...
Caused by: org.gradle.api.plugins.UnknownPluginException: Plugin with id 'com.android.library' not found.
What am I doing wrong?
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Android Studio: Plugin with id 'android-library' not found
Plugin with id 'android-library' not found. I'm treating this as an ABS issue in a seperate thread, so here I'm curious how to...
Read more >Solve Gradle error: Plugin with id 'com.android.application' not ...
application'] was not found in any of the following sources: The UnknownPluginException means that Gradle could not find the Android Gradle ...
Read more >Known issues with Android Studio and Android Gradle Plugin
This section describes known issues that exist in the latest stable version of the Android Gradle plugin. Not all dynamic-feature library dependencies are...
Read more >Plugin [id: 'com.android.library', version: '7.2.1', apply: false ...
Issue 239318224 · Plugin [id: 'com.android.library', version: '7.2.1', apply: false] was not found in any of the following sources: · Issue ...
Read more >The Google Services Gradle Plugin
Process the google-services.json file and produce Android resources that can be used in your application's code. · Add dependencies for basic libraries required ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I totally agree that gradle is piece of shit and should be erased from this world.
@npomfret For what its worth, Gradle is a mystery to the whole world !! The amount of time this thing consumes if trying to debug is absolutely ridiculous. I have had problem after problem with a fairly large project. Fix one thing and something else complains. The incompatibilities between Gradle and Studio and other, the deprications, it’s just crazy. Yep you’re right, I am not happy 😃
By the way @npomfret and @vikeri thanks for the suggestions, didn’t work for me unfortunately so I will keep running in circles.