New Relic Mobile for Android monitors your mobile app, giving you a comprehensive view of your app's performance. It works for Android apps written using Java or Kotlin.
Before you install New Relic Mobile for Android, make sure your app follows the compatibility requirements. As part of the installation process, New Relic Mobile automatically generates an application token. This is a 40-character hexadecimal string for authenticating each mobile app that you monitor in New Relic Mobile.
Follow the Android installation and configuration procedures for your environment as applicable. If you have problems with your Android installation, or if you do not see data in the New Relic Mobile UI for your Android app, follow the troubleshooting procedures.
In New Relic Mobile:
In New Relic Insights:
Create and record custom events, interaction traces, and attributes to add details to your existing data and traces.
Then, view the custom events that you created in New Relic Insights.
Enable the MobileRequest event feature so you can perform a full network analysis.
To further investigate network request error rates and response times, query MobileRequest and MobileRequestError events.
Review detailed information using groups and filters to analyze trends that lead to crashes.
To view more information about crashes, create NRQL queries to review Insights charts related to crash data.
Android SDK API
Use the Android SDK API for New Relic Mobile to instrument parts of your code that are not instrumented by default.
Then, view those custom events and attributes in New Relic Insights.
Report exceptions so you can identify factors creating a poor mobile app experience.
To further improve performance, review MobileHandledException event records in New Relic Insights.
Then, query MobileBreadcrumbs events to see all breadcrumbs or just breadcrumbs related to crashes.
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 data security and licenses documentation.