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:
Make sure your system meets the compatibility and requirements.
Make sure that you are calling the Android agent on the first line of
onCreate()
in theMainActivity
class and that you are running the agent on the main thread. The Android agent does not support starting the agent in another class.Check whether your Android app exceeds the 64k multidex limit.
Increase the logging level and examine your logs for errors:
Increase the New Relic logging level to
AUDIT
usingwithLogLevel
: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.
Confirm the device can reach the mobile monitoring endpoints listed in the Networks doc.
If you need additional help, get support at support.newrelic.com.
For more help
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's and and documentation.