Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
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