question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UnknownPluginException: Plugin with id 'com.android.library' not found

See original GitHub issue

The 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:closed
  • Created 7 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
gsunsnackvcommented, Feb 8, 2019

@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.

I totally agree that gradle is piece of shit and should be erased from this world.

3reactions
Krammigcommented, Mar 9, 2018

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found