• /
  • EnglishEspañol日本語한국어Português
  • Inicia sesiónComenzar ahora

Android agent release notesRSS

October 15, 2018
Android agent v5.20.0

New in this release

  • Support for the Maven plugin is now deprecated, and will be removed in version 5.21.0.
  • The minimum supported SDK level (minSdkVersion) is now 14 (Android 4.0)

Fixed in this release

  • Removed dependency on legacy Android Apache library, which resulted in NoClassDefFoundError exceptions when targeting Android SDK 28.
  • Removed cast exception with OkHTTP2 CacheResponseBody when using Retrofit 1.9.0 with OkHttp 2.7.5 .
  • Corrected mismatched UUID added to Proguard/Dexguard mapping file (the map UUID didn't match the UUID of reported crashes).
  • Restored missing Dexguard lambda instrumentation.
  • Corrected representation of LONG numeric attributes to prevent loss of precision (agent could not record precise timestamp attributes).
  • Crashes that occur prior to successfully connecting to collector will be queued until a valid connection data token is received.
  • Restored agent shutdown and final harvest when foreground services present.

September 10, 2018
Android agent v5.19.1

Fixes

Fixes NoClassDefFoundError crash due to missing Apache classes for apps targeting Android 9 (SDK versions P or 28 ). This release is only needed by apps that target SDK 28 or higher.

June 8, 2018
Android agent v5.19.0

Improvements

  • The agent will now recognize region-specific application tokens.

April 3, 2018
Android agent v5.18.1

Fixed in this release

  • Fixed problem reading from the error stream of instrumented Http/HttpsUrlConnection requests.
  • Fixed problems uploading Proguard/Dexguard mapping.txt files.
  • Eliminated a delay in shutting down the app when reporting a crash.

March 7, 2018
Android agent v5.18.0

Fixed in this release

  • Addressed potential ANR at launch when an app has the Firebase performance monitoring SDK also running.

February 14, 2018
Android agent v5.17.2

Fixed in this release

  • Fixed instrumentation failures introduced in the 5.17.0 release.
  • Corrected a hang during instant app shutdown that could occur during a crash.

February 8, 2018
Android agent v5.17.1

Fixed in this release

  • Fixed trace instrumentation crash introduced in 5.17.0 release.

February 7, 2018
Android agent v5.17.0

New in this release

  • Added instrumentation support for Android Instant Apps The agent now detects and instruments all feature modules for an instant app. Because instant apps are typically side-loaded, users must add NewRelic.start() calls to each entry point activity in the module. We've also created a document to help integrate the agent into your Instant App. See Install the New Relic plugin for Android Instant Apps for more information.

Fixed in this release

  • Correctly restore any pre-existing unhandled exception handler when the agent shuts downs. Maintain the state of existing unhandled exception handlers when the agent returns to foreground.
  • Fixed instrumentation of abstract classes derived from Android SDK classes.
  • Fixed instrumentation failure when using certain Java 8 features, such as lambdas.
  • Updated instrumentation support for Dexguard 8 on Android Studio 3.0.
  • Enforce @SkipTrace with Android SDK-derived classes. Previously, onCreate() and onCreateView() could not be skipped from Activity, Fragment and other SDK classes.

December 14, 2017
Android agent v5.16.0

New in this release

  • MobileRequestError events now contain the response body returned in the network request response, if one exists. Response bodies will only be reported if the withHttpResponseBodyCaptureEnabled feature flag is enabled. HttpResponseBodyCapture is enabled by default. Response body data will be limited to the first 4096 bytes (the Insights attribute limit). A content type attribute will also be added to the event if a "content_type" header is found in the response.
  • MobileRequestError events now also contain any cross-application tracing (CAT) data returned in the response headers. See Introduction to cross-application traces for more information.

Fixed in this release

  • Stream file handle usage during class instrumentation has been tightened up to prevent potential resource leaks.
  • Proguard map detection of release variants when using AndroidStudio 3 has been restored.
  • Add content type parameter missing from HTTP error traces when instrumenting OkHttp2, OkHttp3 and Retrofit requests.

November 8, 2017
Android agent v5.15.2

New in this release

  • The NetworkRequests feature flag is now enabled by default. The feature can still be disabled (and re-enabled) at any time if the additional MobileRequest events are not needed.
  • Added a feature flag for MobileHandledException events (FeatureFlag.HandledExceptions). Handled exception reporting is enabled by default; use this flag to globally disable the feature.

Fixed in this release

  • Crash reports are again uploaded immediately, rather than during the next scheduled harvest.
  • Correctly detects Proguard/Dexguard-enabled apps, and uploads their mapping.txt files to the symbol upload collector.
  • Restored missing instrumentation of Square Retrofit2 classes.
  • Added missing response codes from HttpURLConnection POST requests.
  • The MobileRequest event byteSent attribute has been renamed to bytesSent. Any Insights queries using byteSent must be updated to maintain accuracy.

Copyright © 2025 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.