问题
I created a test project and add the library.
In the process of implementing it in my project I needed to add a line in build.gradle
atmodule
in dependencies
, just such a line
compile project (':library')
And then added to the settings.gradle
include ':library', ':app'
and build.gradle
atProject
changed its classpath
on
classpath 'com.android.tools.build:gradle:1.2.3'
and all was good!
Once it's working, I tried to implement this library in the main project and carried out the same steps as in the first case, but got an error that I do not know how to fix. What have I done wrong?
I have tryed find how to solve it in google and have tryed add some lines in my gradle like this
buildscript {
repositories {
mavenCentral()
}
And have tryed change number of tools version on 1.5.0 , but without success... What i am doing wrong? Help me
来源:https://stackoverflow.com/questions/36419416/why-error17-0-plugin-with-id-com-android-library-not-found