• EnglishEspañol日本語한국어Português
  • Log inStart now

No data appears (Android)

Problem

After installing the Android agent and waiting at least 5 minutes, no data appears in New Relic UI.

Solution

If no data appears after you wait at least five minutes, use New Relic Diagnostics to automatically detect common problems and suggest troubleshooting. If that does not solve your issue, try the following:

  1. Make sure your system meets the compatibility and requirements.

  2. Make sure that you are calling the Android agent on the first line of onCreate() in the MainActivity class and that you are running the agent on the main thread. The Android agent does not support starting the agent in another class.

  3. Check whether your Android app exceeds the 64k multidex limit.

  4. Increase the logging level and examine your logs for errors:

    • Increase the New Relic logging level to AUDIT using withLogLevel:

      NewRelic.withApplicationToken("YOUR_APP_TOKEN")
      .withLogLevel(AgentLog.AUDIT)
      .start(this.getApplication());
    • Generate a few minutes of activity in your app.

    • Examine your device log and your application build logs for issues.

  5. Confirm the device can reach the endpoints listed in the Networks doc.

If you need additional help, get support at support.newrelic.com.

Copyright © 2024 New Relic Inc.

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