• /
  • EnglishEspañol日本語한국어Português
  • EntrarComeçar agora

Android agent release notesRSS

February 28, 2017
Android agent v5.11.0

New in this release

Adds recording of network request error events

The agent now generates MobileRequestError events describing failures in network requests. This new event tracks networking and HTTP errors, and includes attributes for common request properties. More details can be found at Mobile Request Error Events.

Adds additional session attributes

  • lastInteraction allows you to see in Insights, what the most common exit screen was for customers across all sessions or a filtered selection of sessions.
  • appBuild allow developers to view the adoption of a new build, particularly if rolled out under an existing app version number. Originally, this was only available on crash events.
  • architecture and runTime allow you to see the hardware type and Java runtime version the of the device on which the app is running. Both values are taken form the device's system properties, and are useful for debugging device-specific issues.

Fixed in this release

  • Fix the minimum utilization instrumentation filter

    Slow interaction trace capture relied on an incorrectly interpreted minimum utilization value. In some cases you may see more slow interaction traces than previous agent versions. Please reach out to support if you are not seeing slow interaction traces.

  • Fix crash when using OkHttp 3.2.0 web sockets

    Although the Android agent does not officially support OkHttp versions prior to 3.4, this fix avoids crashes that may occur when including 3rd-party libraries that may depend on those versions of OkHttp.

  • Warn when agent and class rewriter versions do not match

    Instead of halting a build of the application, the agent will warn of this benign scenario. Agent JAR version mismatch sometimes occurs when upgrading to a new agent version.

  • Fix ConcurrentModificationException crash

    This change addresses a rarely seen crash that occurs during agent start-up.

  • Move remaining sampler shutdown to background thread

    This change addresses a lag seen during interaction trace completion.

January 12, 2017
Android agent v5.10.0

New in this release

  • Fixed instrumentation failures that occurred when building apps that used both Dexguard and the Android Retrolambda plugin.
  • Updated agent logging to remove noise and conform to Gradle logging conventions.
    Adding --info or --debug to the Gradle build will result in more detailed logging messages.
  • Replaced Gradle agent plugin POM file missing from Jfrog Bintray artifact repository.
  • Agent and agent plugin are now built using JDK 1.8.

December 6, 2016
Android agent v5.9.0

New In This Release

  • Starting with this version of the SDK, you can set a custom user identifier value that can be used to associate user sessions with analytics events and attributes. Check out the NewRelic.setUserId method for more information.

October 18, 2016
Android agent v5.8.4

Fixes

  • Fixed content length tracking and reporting failure for Retrofit ResponseBody contents.

October 3, 2016
Android agent v5.8.3

Update for OkHttp3 instrumentation

  • This release updates OkHttp3 instrumentation. OkHttp3 instrumentation is the automatic instrumentation for apps using the OkHttp version 3 HTTP client library for synchronous and asynchronous network requests. OkUrlFactory is also now supported when used with OkHttp3 client.

Fixes

  • Fixed the class cast exception crash when using OkHttp3 web sockets.

September 29, 2016
Android agent v5.8.2

Fixes

  • Addressed a potential crash that could occur when using OkHttp3 with both interceptors and caching.

September 26, 2016
Android agent v5.8.0

New in this release

  • Add support for OkHttp3 instrumentation
    This release adds automatic instrumentation for apps using the OkHttp version 3 HTTP client library for synchronous and asynchronous network requests. OkUrlFactory is also now supported when used with OkHttp3 client.

Fixes

  • Improved interaction reporting
    The app's main activity, not Android SDK subclasses, is now reported as the default interaction.
  • Fixed NPE when reading from instrumented InputStream instances.
  • Fixed unhandled MeasurementException crash in when renaming interactions.
  • Added session attributes missing from crash reports.

September 2, 2016
Android agent v5.7.1

Fixed in this release

  • Fixed a hang due to a sampling race condition that occurred when an app's crash was uploaded to New Relic.

August 4, 2016
Android agent v5.7.0

New in this release

  • We are pleased to announce support for Dexguard.
    • Full build time compatibility with Dexguard version 7.2.04 or higher
    • Full instrumentation support
    • De-obfuscated crash report stack traces

Fixes

  • The New Relic Gradle plugin depends on the Android application or library plugin having been installed first. The New Relic plugin now throws a Gradle runtime exception, which includes instructions on how to fix the problem, if it is applied before Android.
  • Interaction trace completion was blocked on the sampling tasks running during the interaction. Any running sample tasks are stopped immediately when the interaction trace completes.

Changes

  • The Android agent now requires Proguard version 5.0 or higher for Proguard support

May 31, 2016
Android agent v5.6.1

Fixes

  • Fixes crashes when initializing JsonObject instances with null values. The class constructor now throws a JSONException if the passed JSON string argument is null.
  • Fixes crashes that resulted from attempting to determine the root cause of an unhandled exception.
  • Fixes very rare crashes when OkHttp2 returns a null Response object following a network request.

Copyright © 2025 New Relic Inc.

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