Reputation: 13494
In Android Studio 2.3.3
, I created a project and created new module (HTTP
) of type Android Library
. And added a java file to that module package.
While building, I am getting error like Plugin with id 'org.android.library' not found
from the build.grade of that module (HTTP/build.gradle
). First line of that build.gradle is having
apply plugin: 'org.android.library'
No error from app/build.gradle
file.
Upvotes: 0
Views: 561
Reputation: 13494
Resolved after changing
apply plugin: 'org.android.library'
to
apply plugin: 'com.android.library'
Upvotes: 1