Dashboards

cancel
Showing results for 
Search instead for 
Did you mean: 

No logs in network requests tab for OKHTTP3/Retrofit API calls: Android

Highlighted

I am using the Retrofit library for API calls but the AppDynmics dashboard for Network requests doesn't show any logs but the network calls made using HttpUrlConnection are logged properly, The issue is when I use OKHTTP3/Retrofit call. I am using below-mentioned library versions in top-level Gradle-

classpath 'com.appdynamics:appdynamics-gradle-plugin:20.5.0'

In App-level Gradle 

apply plugin: 'adeum'

dependencies {
implementation 'com.appdynamics:appdynamics-runtime:20.5.0'
}

adeum { // this section added for AppDynamics
account {
 name 'accountname'
 licenseKey 'license key'
}

proguardMappingFileUpload {
 failBuildOnUploadFailure true //should build fail if upload fails? Defaults to false.
enabled true //enables automatic uploads. Defaults to true.
 }
}

I have integrated the app dynamics in the android app as per the documentation https://docs.appdynamics.com/display/PRO45/Instrument+an+Android+Application+Manually even then network logs are not getting captured.

1. Does library capture network logs automatically for all the retrofit API calls or do we need to add some custom code?

2. Are there any issues with library versions that are added?

 

 

Tags (3)
No logs in network requests tab for OKHTTP3/Retrofit API calls: Android