Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
10-23-2019 03:16 PM
I tried use AppDynamics in android library. But run time exception at "Instrumentation.start(builder.build());".
build.gradle (Android library)
implementation 'com.appdynamics:appdynamics-runtime:5.1.1478'
Android code:
AgentConfiguration.Builder builder=AgentConfiguration.builder()
.withAppKey(appKey)
.withContext(applicationContext);
Instrumentation.start(builder.build());
Runtime Exception:
"Unable to start AppDynamics' android agent. Your application doesn't seem to be instrumented by AppDynamics's compile time instrumentation. Please ensure that you have configured your build system (ant/gradle/maven) to run AppDynamics' instrumentation. For more information please consult the documentation. Internal Exception: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/appdynamics/eumagent/runtime/BuildInfo;"
```
How to solve this run time exception?
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form