Build project problem

build failed after run build command

Failed to apply plugin [id ‘com.android.library’] Could not create plugin of type ‘LibraryPlugin’. `> cordova build android --release Android Studio project detected

What went wrong: A problem occurred evaluating project ‘:CordovaLib’.
Plugin with id ‘android.library’ not found.

Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Get more help at https://help.gradle.org

What went wrong: A problem occurred evaluating project ‘:CordovaLib’.

Plugin with id ‘android.library’ not found.
Failed to apply plugin [id ‘com.android.library’] Could not create plugin of type ‘LibraryPlugin’. `> cordova build android --release Android Studio project detected

What went wrong: A problem occurred evaluating project ‘:CordovaLib’.

ionic platform rm android

ionic platform add android@6.3.0

1 Like