Com.android.library not found in ionic Cordova build android

Friends,
I am getting the error ‘com.android.library’ not found error while running the command “ionic Cordova build Android”.

Gradle version : 4.1
Android tools plugin : 3.0.1
SDK version : 27.0.0

Advance thanks for all your time on this.

Thank & Regards,
Stalin