Integrating NewRelic plugin in PhoneGap

0
Hi, I'm getting the following APK compile time error in PhoneGap after integrating newrelic-cordova-plugin. Greatly appreciate any input on this. Regards, Vinod. :app:compileArmv7DebugJavaWithJavac/var/gimlet/tmp/46949184251700/3562674/app/src/main/java/com/newrelic/cordova/plugin/NewRelicCordovaPlugin.java:14: error: package com.newrelic.agent.android does not exist import com.newrelic.agent.android.Agent;                                  ^ /var/gimlet/tmp/46949184251700/3562674/app/src/main/java/com/newrelic/cordova/plugin/NewRelicCordovaPlugin.java:15: error: package com.newrelic.agent.android does not exist import com.newrelic.agent.android.ApplicationPlatform;                                  ^ /var/gimlet/tmp/46949184251700/3562674/app/src/main/java/com/newrelic/cordova/plugin/NewRelicCordovaPlugin.java:16: error: package com.newrelic.agent.android does not exist import com.newrelic.agent.android.NewRelic;                                  ^ /var/gimlet/tmp/46949184251700/3562674/app/src/main/java/com/newrelic/cordova/plugin/NewRelicCordovaPlugin.java:17: error: package com.newrelic.agent.android.analytics does not exist import com.newrelic.agent.android.analytics.AnalyticAttribute;                                            ^ /var/gimlet/tmp/46949184251700/3562674/app/src/main/java/com/newrelic/cordova/plugin/NewRelicCordovaPlugin.java:18: error: package com.newrelic.agent.android.harvest does not exist import com.newrelic.agent.android.harvest.DeviceInformation;                                          ^ /var/gimlet/tmp/46949184251700/3562674/app/src/main/java/com/newrelic/cordova/plugin/NewRelicCordovaPlugin.java:19: error: package com.newrelic.agent.android.logging does not exist import com.newrelic.agent.android.logging.AgentLog;                                          ^ /var/gimlet/tmp/46949184251700/3562674/app/src/main/java/com/newrelic/cordova/plugin/NewRelicCordovaPlugin.java:41: error: cannot find symbol             NewRelic.withApplicationToken(appToken)             ^   symbol:   variable NewRelic   location: class NewRelicCordovaPlugin /var/gimlet/tmp/46949184251700/3562674/app/src/main/java/com/newrelic/cordova/plugin/NewRelicCordovaPlugin.java:45: error: cannot find symbol             final DeviceInformation devInfo = Agent.getDeviceInformation();                   ^   symbol:   class DeviceInformation   location: class NewRelicCordovaPlugin /var/gimlet/tmp/46949184251700/3562674/app/src/main/java/com/newrelic/cordova/plugin/NewRelicCordovaPlugin.java:45: error: cannot find symbol             final DeviceInformation devInfo = Agent.getDeviceInformation();                                               ^   symbol:   variable Agent   location: class NewRelicCordovaPlugin /var/gimlet/tmp/46949184251700/3562674/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 /var/gimlet/tmp/46949184251700/3562674/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 /var/gimlet/tmp/46949184251700/3562674/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 NewRelic   location: class NewRelicCordovaPlugin
asked
0 answers