New Relic Cordova Plugin errors during cordova build android

getting following errors during cordova build process.

Task :CordovaLib:bundleLibCompileToJarDebug
Task :app:newrelicConfigCompileDebug

Task :app:compileDebugJavaWithJavac FAILED
/Users/veaceslavbotnaru/Project/mobile/cordova/platforms/android/app/src/main/java/com/newrelic/cordova/plugin/NewRelicCordovaPlugin.java:15: error: cannot find symbol
import com.newrelic.agent.android.ApplicationPlatform;
^
symbol: class ApplicationPlatform
location: package com.newrelic.agent.android
/Users/veaceslavbotnaru/Project/mobile/cordova/platforms/android/app/src/main/java/com/newrelic/cordova/plugin/NewRelicCordovaPlugin.java:17: error: cannot find symbol
import com.newrelic.agent.android.analytics.AnalyticAttribute;
^
symbol: class AnalyticAttribute
location: package com.newrelic.agent.android.analytics
/Users/veaceslavbotnaru/Project/mobile/cordova/platforms/android/app/src/main/java/com/newrelic/cordova/plugin/NewRelicCordovaPlugin.java:47: error: cannot find symbol
devInfo.setApplicationPlatform(ApplicationPlatform.Cordova);
^
symbol: variable ApplicationPlatform
location: class NewRelicCordovaPlugin
/Users/veaceslavbotnaru/Project/mobile/cordova/platforms/android/app/src/main/java/com/newrelic/cordova/plugin/NewRelicCordovaPlugin.java:48: error: cannot find symbol
devInfo.setApplicationPlatformVersion(pluginVersion);
^
symbol: method setApplicationPlatformVersion(String)
location: variable devInfo of type DeviceInformation
/Users/veaceslavbotnaru/Project/mobile/cordova/platforms/android/app/src/main/java/com/newrelic/cordova/plugin/NewRelicCordovaPlugin.java:50: error: cannot find symbol
NewRelic.setAttribute(AnalyticAttribute.APPLICATION_PLATFORM_VERSION_ATTRIBUTE, pluginVersion);
^
symbol: variable AnalyticAttribute
location: class NewRelicCordovaPlugin
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
5 errors

FAILURE: Build failed with an exception.