rashok
rashok

Reputation: 13494

Android module build error : Plugin with id 'org.android.library' not found

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

Answers (1)

rashok
rashok

Reputation: 13494

Resolved after changing

apply plugin: 'org.android.library'

to

apply plugin: 'com.android.library'

Upvotes: 1

Related Questions